summaryrefslogtreecommitdiffstats
path: root/core/java/android/print/PrintFileDocumentAdapter.java
diff options
context:
space:
mode:
authorCraig Mautner <cmautner@google.com>2013-09-26 16:42:55 -0700
committerCraig Mautner <cmautner@google.com>2013-09-26 17:41:05 -0700
commit0756632aa056cc873943f7f19c7501ce79608394 (patch)
tree0e02034e7979fe368ac07cf200e00aeb1034a975 /core/java/android/print/PrintFileDocumentAdapter.java
parentadf149029f701464c66cc5cacbbbc649c1319bcd (diff)
downloadframeworks_base-0756632aa056cc873943f7f19c7501ce79608394.zip
frameworks_base-0756632aa056cc873943f7f19c7501ce79608394.tar.gz
frameworks_base-0756632aa056cc873943f7f19c7501ce79608394.tar.bz2
Dismiss keyguard when resuming visible activities
If an activity is visible behind the keyguard when it is launched by another activity then there would be no call to dismissKeyguard. Because the other activity is pausing the call to dismissKeyguard is skipped in startActivityLocked(). And because it is already visible the call to ActivityRecord.windowsVisible() is never made and the call to reportActivityVisibleLocked() which calls dismissKeyguard() is also never made. This change recognizes when an activity is resumed and visible and calls dismissKeyguard() in that case. Fixes bug 10732489. Change-Id: I3de1350a55231aaa14dadc8709fd0fcf4960742c
Diffstat (limited to 'core/java/android/print/PrintFileDocumentAdapter.java')
0 files changed, 0 insertions, 0 deletions