Merge "Update occludes keyguard status for all stacks." into rvc-dev

This commit is contained in:
Wei Sheng Shih
2020-04-23 13:30:30 +00:00
committed by Android (Google) Code Review

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 */);
}