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
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 026b7ea..c039041 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -3299,6 +3299,13 @@
<receiver android:name=".fuelgauge.batterytip.AnomalyDetectionReceiver"
android:exported="false" />
+ <receiver android:name=".fuelgauge.batterytip.AnomalyConfigReceiver">
+ <intent-filter>
+ <action android:name="android.app.action.STATSD_STARTED"/>
+ <action android:name="android.intent.action.BOOT_COMPLETED"/>
+ </intent-filter>
+ </receiver>
+
<!-- This is the longest AndroidManifest.xml ever. -->
</application>
</manifest>