diff options
author | Daniel Sandler <dsandler@google.com> | 2010-12-03 14:52:10 -0500 |
---|---|---|
committer | Daniel Sandler <dsandler@google.com> | 2010-12-03 15:55:04 -0500 |
commit | 3e8f5a2c1beb4b918856063880e05125946e4347 (patch) | |
tree | 2875e2394cf6e6043323ee9c721f7baa2e364307 /core/java/android/app/StatusBarManager.java | |
parent | bcdf40b42fb8a4313461233d2db1eb959e2c6a70 (diff) | |
download | frameworks_base-3e8f5a2c1beb4b918856063880e05125946e4347.zip frameworks_base-3e8f5a2c1beb4b918856063880e05125946e4347.tar.gz frameworks_base-3e8f5a2c1beb4b918856063880e05125946e4347.tar.bz2 |
Hide navigation buttons and clock on lockscreen.
(This introduces a StatusBarManager disable flag to ask the
status bar to hide just the clock, which might be useful in
other situations, such as clock/dock apps.)
Bug: 3130393
Change-Id: Ia08627508518e2ed3713ffbf856e4ec42952b3a8
Diffstat (limited to 'core/java/android/app/StatusBarManager.java')
-rw-r--r-- | core/java/android/app/StatusBarManager.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/core/java/android/app/StatusBarManager.java b/core/java/android/app/StatusBarManager.java index fa7f794..97e6931 100644 --- a/core/java/android/app/StatusBarManager.java +++ b/core/java/android/app/StatusBarManager.java @@ -61,10 +61,16 @@ public class StatusBarManager { /** * Flag for {@link #disable} to hide only the navigation buttons. Don't use this - * unless you're the setup wizard. + * unless you're a special part of the system UI (i.e., setup wizard, keyguard). */ public static final int DISABLE_NAVIGATION = 0x00000020; + /** + * Flag for {@link #disable} to hide only the clock. You might use this if your activity has + * its own clock making the status bar's clock redundant. + */ + public static final int DISABLE_CLOCK = 0x00000040; + /** * Re-enable all of the status bar features that you've disabled. |