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 /policy | |
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 'policy')
-rw-r--r-- | policy/src/com/android/internal/policy/impl/KeyguardViewMediator.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/policy/src/com/android/internal/policy/impl/KeyguardViewMediator.java b/policy/src/com/android/internal/policy/impl/KeyguardViewMediator.java index 72af34d..c0c3afd 100644 --- a/policy/src/com/android/internal/policy/impl/KeyguardViewMediator.java +++ b/policy/src/com/android/internal/policy/impl/KeyguardViewMediator.java @@ -1100,7 +1100,9 @@ public class KeyguardViewMediator implements KeyguardViewCallback, boolean enable = !mShowing || (mHidden && !isSecure()); mStatusBarManager.disable(enable ? StatusBarManager.DISABLE_NONE : - StatusBarManager.DISABLE_EXPAND); + ( StatusBarManager.DISABLE_EXPAND + | StatusBarManager.DISABLE_NAVIGATION + | StatusBarManager.DISABLE_CLOCK)); } } |