OSDN Git Service

Add AnomalyConfigReceiver
authorjackqdyulei <jackqdyulei@google.com>
Thu, 1 Feb 2018 04:24:47 +0000 (20:24 -0800)
committerjackqdyulei <jackqdyulei@google.com>
Wed, 21 Feb 2018 20:34:08 +0000 (12:34 -0800)
commite1604d3657fb3fd9143283ddaf33e01f46a727c0
tree8bc03afd2689f3f1f8ae1936a10971970123b04c
parent821adcea1ef8987f484a05689aadc3feea6e3123
Add AnomalyConfigReceiver

This receiver receives the following intent:
1. android.app.action.STATSD_STARTED
2. android.intent.action.BOOT_COMPLETED

Also it does:
1. Check whether to upload/update config(future cl)
2. Send PendingIntent to StatsManager

Bug: 72385333
Test: Will add robo test once robo framework is updated(b/73172999)
Change-Id: Iff7240663ecc1e080581683743b3027093945566
AndroidManifest.xml
src/com/android/settings/fuelgauge/batterytip/AnomalyConfigReceiver.java [new file with mode: 0644]
src/com/android/settings/fuelgauge/batterytip/StatsManagerConfig.java