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

Commit 7bb4e795 authored by Ahan Wu's avatar Ahan Wu
Browse files

Let wallpaper get correct visibility and correct scrim color

Try to fix below:
1. Wallpaper is invisible in Keyguard because the state is still AOD.
2. Wallpaper is covered with scrim color in AOD because the alpha of
ScrimView is 1.

Bug: 113372444
Test: Manually and hierarchy viewer
Change-Id: I2d92ac585ccbee6b05cdbcdc3d514117a4c883db
parent 7a80e141
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4380,6 +4380,7 @@ public class StatusBar extends SystemUI implements DemoMode,
            }
            mEntryManager.updateNotifications();
            updateDozingState();
            updateScrimController();
            updateReportRejectedTouchVisibility();
        }
        Trace.endSection();
@@ -4515,8 +4516,8 @@ public class StatusBar extends SystemUI implements DemoMode,
            if (mDozingRequested) {
                mDozingRequested = false;
                DozeLog.traceDozing(mContext, mDozing);
                mWakefulnessLifecycle.dispatchStartedWakingUp();
                updateDozing();
                mWakefulnessLifecycle.dispatchStartedWakingUp();
            }
        }