summaryrefslogtreecommitdiffstats
path: root/policy
diff options
context:
space:
mode:
authorJoe Onorato <joeo@google.com>2011-01-28 13:40:45 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-01-28 13:40:45 -0800
commitcfd0bafdebf1fccd3f5a0baed5cad8a539546e9b (patch)
tree124bf95ae0258ca0eeacb95083857ae3fcb5b301 /policy
parent94eb3d0f7e77eb94c9fee8523c013fbc0f9032c4 (diff)
parent4671ce56cd041be7ade960d244753a739d2c08f2 (diff)
downloadframeworks_base-cfd0bafdebf1fccd3f5a0baed5cad8a539546e9b.zip
frameworks_base-cfd0bafdebf1fccd3f5a0baed5cad8a539546e9b.tar.gz
frameworks_base-cfd0bafdebf1fccd3f5a0baed5cad8a539546e9b.tar.bz2
Merge changes Iaa7bc042,Icc312fc9,I50ba06ed into honeycomb
* changes: Make keyguard also ask to turn the back button off, now that it is controlled separately. Allow independent control of the back and the other navigation buttons. Allow the status bar disable flags to be used as View's system ui visibility fields.
Diffstat (limited to 'policy')
-rw-r--r--policy/src/com/android/internal/policy/impl/KeyguardViewBase.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/policy/src/com/android/internal/policy/impl/KeyguardViewBase.java b/policy/src/com/android/internal/policy/impl/KeyguardViewBase.java
index 6b52454..36afd75 100644
--- a/policy/src/com/android/internal/policy/impl/KeyguardViewBase.java
+++ b/policy/src/com/android/internal/policy/impl/KeyguardViewBase.java
@@ -50,6 +50,8 @@ public abstract class KeyguardViewBase extends FrameLayout {
public KeyguardViewBase(Context context) {
super(context);
+ setSystemUiVisibility(STATUS_BAR_DISABLE_BACK);
+
// This is a faster way to draw the background on devices without hardware acceleration
setBackgroundDrawable(new Drawable() {
@Override
@@ -235,4 +237,9 @@ public abstract class KeyguardViewBase extends FrameLayout {
return false;
}
+ @Override
+ public void dispatchSystemUiVisibilityChanged(int visibility) {
+ super.dispatchSystemUiVisibilityChanged(visibility);
+ setSystemUiVisibility(STATUS_BAR_DISABLE_BACK);
+ }
}