diff options
author | Dan Sandler <dsandler@android.com> | 2014-02-07 16:05:31 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-02-07 16:05:31 +0000 |
commit | 9e07c1c4f333171bff6e1cf1c4408e5738bcf127 (patch) | |
tree | 494ead08c7df4efbd71cb2c9041dbc162ab57cf7 /services/core/java/com/android/server/lights | |
parent | adb940131adf137023006fcd86663fd048fa6a54 (diff) | |
parent | 6b1f3acdf0f0806c0b3826d1c4ea43bd6cc6f021 (diff) | |
download | frameworks_base-9e07c1c4f333171bff6e1cf1c4408e5738bcf127.zip frameworks_base-9e07c1c4f333171bff6e1cf1c4408e5738bcf127.tar.gz frameworks_base-9e07c1c4f333171bff6e1cf1c4408e5738bcf127.tar.bz2 |
am 6b1f3acd: am 6ea720ba: Merge "Make sure to turn off led after pulse()"
* commit '6b1f3acdf0f0806c0b3826d1c4ea43bd6cc6f021':
Make sure to turn off led after pulse()
Diffstat (limited to 'services/core/java/com/android/server/lights')
-rw-r--r-- | services/core/java/com/android/server/lights/LightsService.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/lights/LightsService.java b/services/core/java/com/android/server/lights/LightsService.java index 62dc090..3d22370 100644 --- a/services/core/java/com/android/server/lights/LightsService.java +++ b/services/core/java/com/android/server/lights/LightsService.java @@ -78,6 +78,7 @@ public class LightsService extends SystemService { synchronized (this) { if (mColor == 0 && !mFlashing) { setLightLocked(color, LIGHT_FLASH_HARDWARE, onMS, 1000, BRIGHTNESS_MODE_USER); + mColor = 0; mH.sendMessageDelayed(Message.obtain(mH, 1, this), onMS); } } |