OSDN Git Service

QS: Don't set flashlight state when we don't have an id
authorJason Monk <jmonk@google.com>
Tue, 4 Oct 2016 18:50:11 +0000 (14:50 -0400)
committerJason Monk <jmonk@google.com>
Tue, 4 Oct 2016 18:50:11 +0000 (14:50 -0400)
commitad32c550c0feebf60d1f18d09222d0e8b880cb01
treed8795d5f6cbd06b1ac8398003f7e0924d21457a9
parenta92006ef6c66b6c704032d14c574ffb40807ce51
QS: Don't set flashlight state when we don't have an id

Also add a dump to FlashlightController for better visibility.

Change-Id: I7e826c58598ccc18e211aaab31a2e4d039234fc1
Fixes: 31352536
packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
packages/SystemUI/src/com/android/systemui/statusbar/policy/FlashlightController.java