Ticket Created
over 5 years ago

WERETECH-8860

Feature Request: DeviceSettings.screenBPP

With the addition of the Venu, a new attribute to DeviceSettings that indicates color depth would be really useful. This is already available in the device.xml, but on-device lookup would be convenient-I'd love to be able to write something like:

function useFantasticalColorScheme() {

    return System.getDeviceSettings().screenBPP > 8;

}

I suppose this can be achieved right now by way of the resource inheritance system. However, that requires you to know something about each device. The programmatic approach would work automatically as new devices are added without having to update any resource mappings.