Merge "DozeScrimController: Fix tight-posting bug" into oc-mr1-dev
This commit is contained in:
@@ -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 = () -> {
|
||||
|
||||
Reference in New Issue
Block a user