Merge "Respect always unlocked displays when keyguard is shown." into udc-dev am: 68c74f4c51
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23692527 Change-Id: I406ecd8084f563152fa4d8ca3cd59d1bf055ddff Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
committed by
Automerger Merge Worker
commit
c255fadec8
@@ -1061,8 +1061,10 @@ class RootWindowContainer extends WindowContainer<DisplayContent>
|
||||
displayHasContent = true;
|
||||
} else if (displayContent != null &&
|
||||
(!mObscureApplicationContentOnSecondaryDisplays
|
||||
|| displayContent.isKeyguardAlwaysUnlocked()
|
||||
|| (obscured && type == TYPE_KEYGUARD_DIALOG))) {
|
||||
// Allow full screen keyguard presentation dialogs to be seen.
|
||||
// Allow full screen keyguard presentation dialogs to be seen, or simply ignore the
|
||||
// keyguard if this display is always unlocked.
|
||||
displayHasContent = true;
|
||||
}
|
||||
if ((privateflags & PRIVATE_FLAG_SUSTAINED_PERFORMANCE_MODE) != 0) {
|
||||
|
||||
Reference in New Issue
Block a user