Add cross profile intent filter for more activities
Fixes: 144909960
Test: adb shell am start --user 10 -a
android.settings.USAGE_ACCESS_SETTINGS should start Settings and
focus on work tab.
Change-Id: I3473d74e73e3b9e8a8bbaf83065a28a4b964e8ac
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 99013f0..70f43e5 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -1387,6 +1387,8 @@
</intent-filter>
<meta-data android:name="com.android.settings.FRAGMENT_CLASS"
android:value="com.android.settings.applications.manageapplications.ManageApplications" />
+ <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
+ android:value="true" />
</activity>
<activity
@@ -2763,6 +2765,8 @@
</intent-filter>
<meta-data android:name="com.android.settings.FRAGMENT_CLASS"
android:value="com.android.settings.applications.manageapplications.ManageApplications" />
+ <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
+ android:value="true" />
</activity>
<activity
@@ -2787,6 +2791,8 @@
</intent-filter>
<meta-data android:name="com.android.settings.FRAGMENT_CLASS"
android:value="com.android.settings.applications.manageapplications.ManageApplications" />
+ <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
+ android:value="true" />
</activity>
<activity
@@ -2810,6 +2816,8 @@
</intent-filter>
<meta-data android:name="com.android.settings.FRAGMENT_CLASS"
android:value="com.android.settings.applications.manageapplications.ManageApplications" />
+ <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
+ android:value="true" />
</activity>
<activity android:name="Settings$ManageAppExternalSourcesActivity"