Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ff5bd334 authored by Rohan Shah's avatar Rohan Shah
Browse files

[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
parent 940630ba
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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" />