OSDN Git Service

Allow for activities to resumed if keyguard is occluded.
authorBryce Lee <brycelee@google.com>
Tue, 13 Mar 2018 17:06:21 +0000 (10:06 -0700)
committerBryce Lee <brycelee@google.com>
Tue, 13 Mar 2018 17:06:21 +0000 (10:06 -0700)
commitb3b73f2f842d659f2d4dcf9cbd84fb8fa1e07aaa
tree5cf1ede2de014aaf9a94878bf6dfbdfce9c42258
parent5dbde05f06a1fc5273efb6a38e3f65419a30ea23
Allow for activities to resumed if keyguard is occluded.

A previous changelist enforced that activities would not be resumed
if the keyguard is locked. However, this prevents activities that
show above the keyguard from resuming.

This changelist adjusts this check to account for occlusion.

Fixes: 74585178
Test: Lock screen, fingerprint unlock, verify activity is resumed.
Test: Set alarm, lock screen, verify alarm shows above lock screen
      resumed.

Change-Id: I9d26d6b667bb1679c373f36188a610a66d2f5b2d
services/core/java/com/android/server/am/ActivityStackSupervisor.java