OSDN Git Service

DozeScrimController: Fix tight-posting bug
authorAdrian Roos <roosa@google.com>
Tue, 22 Aug 2017 15:27:27 +0000 (15:27 +0000)
committerandroid-build-team Robot <android-build-team-robot@google.com>
Tue, 22 Aug 2017 19:58:46 +0000 (19:58 +0000)
commit29fc04d66e4522e740e216c131a8e3eb081da46e
treedb4348a43805e7020ef12ec5fc6e11060f727d42
parentd025baccad4c89ffcdccda66705b21446d2df576
DozeScrimController: Fix tight-posting bug

Fixes a typo that lead to never-ending posting of runnables

Change-Id: I6fb36d000d0af53142576a2deffa49151db270b4
Fixes: 64908631
Test: Repeatedly put the device to sleep and wake up with AOD enabled. Ensure system load stays low.
(cherry picked from commit 1b181e1267a1dd73f08115a9eac3a086cb91296e)
packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeScrimController.java