OSDN Git Service

Turn on wakeupAlarm anomaly detector
authorjackqdyulei <jackqdyulei@google.com>
Tue, 12 Sep 2017 22:59:52 +0000 (15:59 -0700)
committerjackqdyulei <jackqdyulei@google.com>
Tue, 12 Sep 2017 22:59:52 +0000 (15:59 -0700)
commit1a49a8ab3900ab77209b1c5b34a33cc3a8be3e2c
treec809b2fe0a263010e3cd819785737f8fe4cf606e
parent6361c9d851974b6e10c4e3a3e16bd4a30154ff76
Turn on wakeupAlarm anomaly detector

In ag/2642771, wakeup alarms is changed to based on screen-off
timebase. After that, all the wakeup alarms will be background
ones.

So it is safe to turn on the wakeupAlarm anomaly detector.

Bug: 65597330
Test: RunSettingsRoboTests
Change-Id: I653d4bbfa671c52890dc6c6b13870c666ba9b944
src/com/android/settings/fuelgauge/anomaly/AnomalyDetectionPolicy.java
tests/robotests/src/com/android/settings/fuelgauge/anomaly/AnomalyDetectionPolicyTest.java