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

Commit a573f757 authored by Josh Tsuji's avatar Josh Tsuji Committed by Automerger Merge Worker
Browse files

Merge "Fix issue where screen off is disabled after expanding then collapsing...

Merge "Fix issue where screen off is disabled after expanding then collapsing the shade." into sc-dev am: 3d896663 am: 2f4b7bc5

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

Change-Id: If6b7eb19f4fd6e693c225d29e54e449fdec794d7
parents b448a897 2f4b7bc5
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -199,10 +199,9 @@ class UnlockedScreenOffAnimationController @Inject constructor(

        // We currently draw both the light reveal scrim, and the AOD UI, in the shade. If it's
        // already expanded and showing notifications/QS, the animation looks really messy. For now,
        // disable it if the notification panel is expanded.
        // disable it if the notification panel is not fully collapsed.
        if (!this::statusBar.isInitialized ||
                statusBar.notificationPanelViewController.isFullyExpanded ||
                statusBar.notificationPanelViewController.isExpanding) {
                !statusBar.notificationPanelViewController.isFullyCollapsed) {
            return false
        }