OSDN Git Service

Use wakeup reason when FingerPrint sensor wakes up the device
authorAdam Lesinski <adamlesinski@google.com>
Wed, 4 Nov 2015 00:31:25 +0000 (16:31 -0800)
committerAdam Lesinski <adamlesinski@google.com>
Tue, 15 Dec 2015 21:46:11 +0000 (21:46 +0000)
commit9289560aa0d195dfed67dab05811114bc7bc88a9
treebe64b8c623b3a582cc085084f4cd8458c6325813
parent36393a5674bf50b351b5961a194ce2814ca00140
Use wakeup reason when FingerPrint sensor wakes up the device

PowerManager can log into BatteryStats the reason for the device being
woken up. This change has the Fingerprint controller report the reason
instead of a default non-descriptive 'wakeUp' reason.

Bug:26209577
Change-Id: I12d80682dad888add139cca586d4b948e9d546e5
(cherry picked from commit 5bcb8bb31ab6688dff432cb7bd20fe69016c7003)
packages/SystemUI/src/com/android/systemui/statusbar/phone/FingerprintUnlockController.java