[QS] Add Settings intent filters for Data Usage
Add intent filters for the new, public DATA_USAGE_SETTINGS action.
SystemUI's Quick Settings are already hooked up to use this intent.
Test: Visually
Bug: 73586207
Change-Id: I8638c067f557765c505500a57a3cd7a6cd3fc40d
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index e2accdd..48f60fb 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -2384,6 +2384,10 @@
android:taskAffinity="com.android.settings"
android:parentActivityName="Settings">
<!-- TODO(b/70950124): add shortcut intent-filter -->
+ <intent-filter android:priority="1">
+ <action android:name="android.settings.DATA_USAGE_SETTINGS" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
<intent-filter android:priority="10">
<action android:name="com.android.settings.action.SETTINGS" />
</intent-filter>
@@ -2399,6 +2403,10 @@
android:icon="@drawable/ic_settings_data_usage"
android:taskAffinity="com.android.settings"
android:parentActivityName="Settings">
+ <intent-filter android:priority="1">
+ <action android:name="android.settings.DATA_USAGE_SETTINGS" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />