diff options
author | Dianne Hackborn <hackbod@google.com> | 2009-09-15 22:50:40 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2009-09-15 22:50:40 -0700 |
commit | 93e462b79d6896da10e15e74c5aec6beb098dddf (patch) | |
tree | 1f5f178b544a49ba5a80e74269b083775ff97854 /core/java/android/content/pm | |
parent | 6cf05f1c3d6f4585573c8663a62848a09f6a08ff (diff) | |
download | frameworks_base-93e462b79d6896da10e15e74c5aec6beb098dddf.zip frameworks_base-93e462b79d6896da10e15e74c5aec6beb098dddf.tar.gz frameworks_base-93e462b79d6896da10e15e74c5aec6beb098dddf.tar.bz2 |
Implement issue #1780928: Need support hiding nav keys.
This implements support for devices whose hardware can hide
their navigation keys. It works much like the existing keyboardHidden
configuration, and for compatibility uses the same configuration
change bit.
Also add FLAG_TURN_ON_SCREEN for windows, which has the system
cause the screen to be turned on when the window is displayed.
Great fun when used with FLAG_SHOW_WHEN_LOCKED!
Change-Id: I0b867f19af85cfd8786a14cea194b34f7bdd9b7a
Diffstat (limited to 'core/java/android/content/pm')
-rw-r--r-- | core/java/android/content/pm/ActivityInfo.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/java/android/content/pm/ActivityInfo.java b/core/java/android/content/pm/ActivityInfo.java index 27783ef..1ad13c5 100644 --- a/core/java/android/content/pm/ActivityInfo.java +++ b/core/java/android/content/pm/ActivityInfo.java @@ -217,7 +217,9 @@ public class ActivityInfo extends ComponentInfo public static final int CONFIG_KEYBOARD = 0x0010; /** * Bit in {@link #configChanges} that indicates that the activity - * can itself handle changes to the keyboard being hidden/exposed. + * can itself handle changes to the keyboard or navigation being hidden/exposed. + * Note that inspite of the name, this applies to the changes to any + * hidden states: keyboard or navigation. * Set from the {@link android.R.attr#configChanges} attribute. */ public static final int CONFIG_KEYBOARD_HIDDEN = 0x0020; |