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

Commit 7c03cfbc authored by Matt Casey's avatar Matt Casey Committed by android-build-merger
Browse files

Merge "Ensure onDarkIntensity is called on the proper thread." into qt-dev am: caf6bc76

am: a0a63deb

Change-Id: If85856942175b6afe0b1e867739441dbbe4fe685
parents df3c3cc4 a0a63deb
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -768,6 +768,10 @@ public class ScreenDecorations extends SystemUI implements Tunable,

    @Override
    public void onDarkIntensity(float darkIntensity) {
        if (!mHandler.getLooper().isCurrentThread()) {
            mHandler.post(() -> onDarkIntensity(darkIntensity));
            return;
        }
        if (mOverlay != null) {
            CornerHandleView assistHintTopLeft = mOverlay.findViewById(R.id.assist_hint_left);
            CornerHandleView assistHintTopRight = mOverlay.findViewById(R.id.assist_hint_right);