summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorAdrian Roos <roosa@google.com>2014-05-26 13:03:07 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-05-26 13:03:09 +0000
commitb13d754898eee54876799b3a306ff6fa453acfda (patch)
tree0b88a01ac1a9c5d46e45f84d05d54e41b7a8f8f0 /packages
parent7d7090d66692170b0584a5b9f4fe3e47285ee615 (diff)
parent818301b543ffb47676513e98d786b4e310bfc489 (diff)
downloadframeworks_base-b13d754898eee54876799b3a306ff6fa453acfda.zip
frameworks_base-b13d754898eee54876799b3a306ff6fa453acfda.tar.gz
frameworks_base-b13d754898eee54876799b3a306ff6fa453acfda.tar.bz2
Merge "Remove unnecessary layout request from Keyguard" into lmp-preview-dev
Diffstat (limited to 'packages')
-rw-r--r--packages/Keyguard/src/com/android/keyguard/KeyguardViewBase.java5
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBouncer.java1
2 files changed, 0 insertions, 6 deletions
diff --git a/packages/Keyguard/src/com/android/keyguard/KeyguardViewBase.java b/packages/Keyguard/src/com/android/keyguard/KeyguardViewBase.java
index a9206e7..48b7be9 100644
--- a/packages/Keyguard/src/com/android/keyguard/KeyguardViewBase.java
+++ b/packages/Keyguard/src/com/android/keyguard/KeyguardViewBase.java
@@ -237,11 +237,6 @@ public abstract class KeyguardViewBase extends FrameLayout implements SecurityCa
if (DEBUG) Log.d(TAG, "screen on, instance " + Integer.toHexString(hashCode()));
mSecurityContainer.showPrimarySecurityScreen(false);
mSecurityContainer.onResume(KeyguardSecurityView.SCREEN_ON);
-
- // This is a an attempt to fix bug 7137389 where the device comes back on but the entire
- // layout is blank but forcing a layout causes it to reappear (e.g. with with
- // hierarchyviewer).
- requestLayout();
requestFocus();
}
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBouncer.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBouncer.java
index 9138867..2fa2a00 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBouncer.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBouncer.java
@@ -65,7 +65,6 @@ public class KeyguardBouncer {
// Keyguard. If we need to authenticate, show the bouncer.
if (!mKeyguardView.dismiss()) {
mRoot.setVisibility(View.VISIBLE);
- mKeyguardView.requestFocus();
mKeyguardView.onResume();
}
}