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

Commit f8cb5482 authored by Jorim Jaggi's avatar Jorim Jaggi Committed by Android (Google) Code Review
Browse files

Merge "DozeScrimController: Fix tight-posting bug" into oc-mr1-dev

parents 30d87649 1b181e12
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -304,7 +304,7 @@ public class DozeScrimController {
            mHandler.removeCallbacks(mSetDozeInFrontAlphaDelayed);
            mSetDozeInFrontAlphaDelayed = null;
        }
        if (delayMs < 0) {
        if (delayMs <= 0) {
            mScrimController.setDozeInFrontAlpha(opacity);
        } else {
            mHandler.postDelayed(mSetDozeInFrontAlphaDelayed = () -> {