Go to file
Tobias Haamel 70fa84f6ab Introduce special UI modes for night and car usage.
The device mode is now called ui mode. Furthermore is the order of
precedence for the resources now in such a way that the ui mode needs
to be specified after the orientation and before the density.

The ui mode can be set, like it is done for the locale, as follows:

IActivityManager am = ActivityManagerNative.getDefault();
Configuration config = am.getConfiguration();
config.uiMode = Configuration.UI_MODE_TYPE_CAR | Configuration.UI_MODE_NIGHT_ANY;
am.updateConfiguration(config);

To allow users to disable the car mode and set the night mode the IUiModeManager
interface is used.

The automatic night mode switching will be added in a separate change.
2010-02-11 21:25:58 +01:00
awt Fix the broken compile of a currently-not-being-compiled AWT class. 2010-01-28 12:31:01 -08:00
calendar Generate a calendar static Java library. 2009-12-01 17:42:41 -08:00
camera API Extension: Support for optionally specifying a map of extra request headers when specifying the uri of media data to be played. 2010-01-28 11:52:43 -08:00
cmds keystore: compute the padding in an intuitive way. 2009-12-30 10:38:39 +08:00
common Merge "Add back lost python script." 2010-02-10 14:52:07 -08:00
include Introduce special UI modes for night and car usage. 2010-02-11 21:25:58 +01:00
libs Merge "Remove some logs." 2010-02-10 00:07:36 -08:00
mms-common Fix mms-common's pathnames to match package spec. 2010-02-02 15:32:55 -08:00
opengl Merge "fix [2189862] Race condition in eglIntialize and eglDestroy" 2010-02-05 18:37:17 -08:00
vpn Phase 2 of test cleanup: moving test files from AndroidTests closer to their sources. 2010-01-29 13:35:51 -08:00
cleanspec.mk
MODULE_LICENSE_APACHE2
NOTICE