OSDN Git Service

Fix issue with lifecycle of Activities launched from Lockscreen
authorAdam Lesinski <adamlesinski@google.com>
Sat, 13 Sep 2014 02:42:24 +0000 (19:42 -0700)
committerAdam Lesinski <adamlesinski@google.com>
Sat, 13 Sep 2014 02:42:24 +0000 (19:42 -0700)
commit54eab3b35d798ce9ab061c53ac8219526132ac2d
tree42480328d99809fe3eec0b8710228cf2aa990339
parent689d491d8a317d9dffcfc30164ed7c611abae4da
Fix issue with lifecycle of Activities launched from Lockscreen

ActivityManager still thinks the device is going to sleep, so
any Activity started while the lockscreen is showing is immediately
stopped. When Keyguard calls ActivityManager.keyguardWaitingForActivityDraw(),
then we must make sure that the ActivityManager thinks we are not sleeping.

Bug:17459745
Change-Id: I5c45c88e3a72e1f08e1b32101d0d0b4675f7a5ff
services/core/java/com/android/server/am/ActivityManagerService.java