DO NOT MERGE Add intent handling for showing write settings and usage access settings.
Bug: 122824071
Test: build and deploy, adb shell am start -a android.settings.USAGE_ACCESS_SETTINGS -c android.intent.category.DEFAULT, adb shell am start -a android.settings.action.MANAGE_WRITE_SETTINGS -c android.intent.category.DEFAULT
Change-Id: I387f751ab3f84b4ead930aea114bcc38fea1e28e
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 569d7ad..6c10951 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -160,10 +160,20 @@
</intent-filter>
<intent-filter android:priority="100">
+ <action android:name="android.settings.action.MANAGE_WRITE_SETTINGS" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
+
+ <intent-filter android:priority="100">
<action android:name="android.settings.ACTION_NOTIFICATION_LISTENER_SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
+ <intent-filter android:priority="100">
+ <action android:name="android.settings.USAGE_ACCESS_SETTINGS" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
+
<intent-filter android:priority="1">
<action android:name="android.settings.DATE_SETTINGS" />
<action android:name="android.intent.action.QUICK_CLOCK" />