OSDN Git Service

Fix 5027468: prevent screen from turning back on while lockscreen in password mode.
authorJim Miller <jaggies@google.com>
Thu, 14 Jul 2011 22:04:42 +0000 (15:04 -0700)
committerJim Miller <jaggies@google.com>
Thu, 14 Jul 2011 22:04:42 +0000 (15:04 -0700)
commitdcb9376913a954266d07733e5e33bd846230cff8
tree8d6c986cf6104a30a2c5ca051c92103b1370b607
parent9f845cff9b72b27eadb55298bdcf0104599f9385
Fix 5027468: prevent screen from turning back on while lockscreen in password mode.

This fixes a bug where LockScreen would turn back on due to the sequence of events
that ultimately cause PasswordUnlockScreen.onResume() to be called when the device powers off.

This is required because the lockscreen rebuilds itself before the screen turns off
so that it's ready to show immediately when the device comes back on.

Change-Id: I86a61cc3b1d77cf7f2a9a198051ea2bbe90607b2
policy/src/com/android/internal/policy/impl/PasswordUnlockScreen.java