Add BATTERY_DATA permission for batteryusage.BootBroadcastReceiver

Bug: 323497440
Test: manual
Change-Id: If2e2f34c13914a3d4e36f343fa91b40407335639
This commit is contained in:
mxyyiyi
2024-02-05 11:48:51 +08:00
parent b47d077dd0
commit 98785eef45

View File

@@ -3232,7 +3232,8 @@
<receiver
android:name=".fuelgauge.batteryusage.BootBroadcastReceiver"
android:exported="true">
android:exported="true"
android:permission="com.android.settings.BATTERY_DATA">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED"/>
<action android:name="com.google.android.setupwizard.SETUP_WIZARD_FINISHED"/>