Rename ACTION_VIEW_ADVANCED_POWER_USAGE_DETAIL
ACTION_VIEW_ADVANCED_POWER_USAGE_DETAIL is now ACTION_APP_BATTERY_SETTINGS
Test: adb shell am start -a \
"android.settings.VIEW_ADVANCED_POWER_USAGE_DETAIL" -d \
"package:com.google.android.deskclock" --ez \
"request_ignore_background_restriction" 1
Bug: 129901520
Change-Id: Iec103ee46863c05497f9aa53f0ae81b105fdd309
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index a8375c9..3582d3d 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -2904,7 +2904,7 @@
android:launchMode="singleInstance"
android:theme="@android:style/Theme.NoDisplay">
<intent-filter>
- <action android:name="android.settings.VIEW_ADVANCED_POWER_USAGE_DETAIL" />
+ <action android:name="android.settings.APP_BATTERY_SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="package" />
</intent-filter>