Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 87e95eb8 authored by Vladimir Komsiyski's avatar Vladimir Komsiyski
Browse files

[conflict] Merge "Respect always unlocked displays when keyguard is shown."...

[conflict] Merge "Respect always unlocked displays when keyguard is shown." into udc-dev am: 68c74f4c am: f2f4f3c8

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23692527



Change-Id: I8db9825154059fab8c0b270066c6cb547e1d7037
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 651e3327 f2f4f3c8
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1060,8 +1060,10 @@ class RootWindowContainer extends WindowContainer<DisplayContent>
                displayHasContent = true;
            } else if (displayContent != null &&
                    (!mObscureApplicationContentOnSecondaryDisplays
                            || displayContent.isKeyguardAlwaysUnlocked()
                            || (obscured && w.mAttrs.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 ((w.mAttrs.privateFlags & PRIVATE_FLAG_SUSTAINED_PERFORMANCE_MODE) != 0) {