Merge "Update occludes keyguard status for all stacks." into rvc-dev am: 9ccee07a31 am: 6b74c7ac13

Change-Id: I4d2375c25604cbe9c4c94b5f24cbf42c39170327
This commit is contained in:
Wei Sheng Shih
2020-04-23 14:03:56 +00:00
committed by Automerger Merge Worker

View File

@@ -2677,7 +2677,7 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A
if (isState(PAUSED)
&& mStackSupervisor.getKeyguardController().isKeyguardLocked()
&& getStack().topActivityOccludesKeyguard()) {
getStack().ensureActivitiesVisible(null /* starting */, 0 /* configChanges */,
getDisplay().ensureActivitiesVisible(null /* starting */, 0 /* configChanges */,
false /* preserveWindows */, false /* notifyClients */);
}