Add intent for entering communal settings
This allows other apps to link to communal settings.
Fixes: 276742740
Test: adb shell am start -a android.settings.COMMUNAL_SETTINGS
Test: switched to secondary user, attempted to launch using command
above. Verified it didn't work
Change-Id: I5e845ecba58d8443d41aeea95bc6068a0041cac8
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 100a071..cebe7a2 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -3293,6 +3293,24 @@
</activity>
<activity
+ android:name="Settings$CommunalSettingsActivity"
+ android:label="@string/communal_settings_title"
+ android:exported="true"
+ android:icon="@drawable/ia_settings_communal">
+ <intent-filter android:priority="1">
+ <action android:name="android.settings.COMMUNAL_SETTINGS" />
+ <category android:name="android.intent.category.BROWSABLE" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
+ <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
+ android:value="com.android.settings.communal.CommunalDashboardFragment" />
+ <meta-data android:name="com.android.settings.HIGHLIGHT_MENU_KEY"
+ android:value="@string/menu_key_communal"/>
+ <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
+ android:value="true" />
+ </activity>
+
+ <activity
android:name="Settings$UserSettingsActivity"
android:label="@string/user_settings_title"
android:exported="true"