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

Commit 54642d14 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Merge cherrypicks of ['googleplex-android-review.googlesource.com/32300717'] into 25Q1-release.

Change-Id: I31e2870696ebd4ab0005ea2b38db7d965226e7a3
parents 00a0e2de d99084e2
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -882,7 +882,9 @@ class RootWindowContainer extends WindowContainer<DisplayContent>
        if (!mWmService.mDisplayFrozen) {
            // Post these on a handler such that we don't call into power manager service while
            // holding the window manager lock to avoid lock contention with power manager lock.
            mHandler.obtainMessage(SET_SCREEN_BRIGHTNESS_OVERRIDE, mDisplayBrightnessOverrides)
            // Send a copy of the brightness overrides as they may be cleared before being sent out.
            mHandler.obtainMessage(SET_SCREEN_BRIGHTNESS_OVERRIDE,
                    mDisplayBrightnessOverrides.clone())
                    .sendToTarget();
            mHandler.obtainMessage(SET_USER_ACTIVITY_TIMEOUT, mUserActivityTimeout).sendToTarget();
        }