diff options
author | Jim Miller <jaggies@google.com> | 2010-03-12 17:32:01 -0800 |
---|---|---|
committer | Jim Miller <jaggies@google.com> | 2010-03-12 17:32:01 -0800 |
commit | a027c95e798d75de1165feebefb2df4d1c7c0927 (patch) | |
tree | 8e2186f5a6d537506d6c45be58e62c557a84e02e /core/java/com | |
parent | 9bcf789a31315510cc37a6d8d81b80ea54fa1dc6 (diff) | |
download | frameworks_base-a027c95e798d75de1165feebefb2df4d1c7c0927.zip frameworks_base-a027c95e798d75de1165feebefb2df4d1c7c0927.tar.gz frameworks_base-a027c95e798d75de1165feebefb2df4d1c7c0927.tar.bz2 |
Fix 2428368: Fix most of the lockscreen orientation refresh bugs
This change removes the legacy notification of orientation and configuration changed events
from KeyguardUpdateMonitor and moves them into the individual activities. This was necessary
to guarantee order of events.
In addition, to minimize discrepencies due to notification lag, Keyguard screens (LockScreen,
PatternUnlock, etc.) are now responsible for handling onConfigurationChanged() notification and
forwarding them to LockPatternKeyguardView by a call to recreateMe() with the new configuration.
Change-Id: I703daf3e91bc6588e87c844a3ed3d259a6b8ecdf
Diffstat (limited to 'core/java/com')
-rw-r--r-- | core/java/com/android/internal/widget/LockPatternUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/com/android/internal/widget/LockPatternUtils.java b/core/java/com/android/internal/widget/LockPatternUtils.java index efd025a..9b7f487 100644 --- a/core/java/com/android/internal/widget/LockPatternUtils.java +++ b/core/java/com/android/internal/widget/LockPatternUtils.java @@ -47,6 +47,7 @@ import java.util.List; public class LockPatternUtils { private static final String TAG = "LockPatternUtils"; + private static final boolean LDEBUG = false; private static final String LOCK_PATTERN_FILE = "/system/gesture.key"; private static final String LOCK_PASSWORD_FILE = "/system/password.key"; @@ -126,7 +127,6 @@ public class LockPatternUtils { public LockPatternUtils(Context context) { mContext = context; mContentResolver = context.getContentResolver(); - mDevicePolicyManager = getDevicePolicyManager(); // Initialize the location of gesture lock file if (sLockPatternFilename == null) { sLockPatternFilename = android.os.Environment.getDataDirectory() |