OSDN Git Service

Add code to handle anomaly config update
authorjackqdyulei <jackqdyulei@google.com>
Fri, 2 Feb 2018 18:29:40 +0000 (10:29 -0800)
committerjackqdyulei <jackqdyulei@google.com>
Wed, 21 Feb 2018 20:34:28 +0000 (12:34 -0800)
commit10b7c0c39d3d586b37dee5ea56f809041b3caf1f
treed3d0873e642266bbe4250806fd8089d2e4bd9e1a
parente1604d3657fb3fd9143283ddaf33e01f46a727c0
Add code to handle anomaly config update

Store a local version number in Settings. If new version comes,
upload config to StatsManager.

Bug: 72385333
Test: Will add robo test once robo framework is updated(b/73172999)
Change-Id: I03f5ee6f6e013746397d39b8d2b52ce587825b11
src/com/android/settings/fuelgauge/batterytip/AnomalyConfigReceiver.java
src/com/android/settings/fuelgauge/batterytip/AnomalyDetectionReceiver.java