Add AnomalyDetectionReceiver
This BroadcastReceiver is triggered when anomaly happens. Inside it
we need to extract anomaly info and store it in the database.
Bug: 72385333
Test: Will add robo test once robo framework is updated(b/73172999)
Change-Id: Ib36af377fa2dff8026e7f0fcbec9575366e39cf9
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 1917214..026b7ea 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -3294,6 +3294,11 @@
</intent-filter>
</receiver>
+ <!-- Couldn't be triggered from outside of settings. Statsd can trigger it because we send
+ PendingIntent to it-->
+ <receiver android:name=".fuelgauge.batterytip.AnomalyDetectionReceiver"
+ android:exported="false" />
+
<!-- This is the longest AndroidManifest.xml ever. -->
</application>
</manifest>