Merge "Make sure to turn off led after pulse()"

This commit is contained in:
Dan Sandler
2014-02-07 15:59:08 +00:00
committed by Gerrit Code Review

View File

@@ -96,6 +96,7 @@ public class LightsService {
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);
}
}