Fix battery usage database is not clear when time is changed

[Root Cause]: Intent.ACTION_TIME_CHANGED is listened in the java code, but it is not registered in the AndroidManifest.xml.

Bug: 304700667
Bug: 303352170
Fix: 304700667
Fix: 303352170
Test: manual
Change-Id: I326c525c4a370493e8caa70258580b6bd9dfe357
This commit is contained in:
Zaiyue Xue
2023-10-11 17:24:20 +08:00
parent 1735474987
commit 011725f89e

View File

@@ -3198,6 +3198,7 @@
<action android:name="android.intent.action.BOOT_COMPLETED"/>
<action android:name="com.google.android.setupwizard.SETUP_WIZARD_FINISHED"/>
<action android:name="com.android.settings.battery.action.PERIODIC_JOB_RECHECK"/>
<action android:name="android.intent.action.TIME_SET"/>
</intent-filter>
</receiver>