Change "Long pressing work mode in quick settings" to managed profile settings
Test: Long pressing work mode can go to managed profile settings now.
Bug: 34189626
Change-Id: I84820b1ce0a5693f36236c1bb512c99db3c6e9df
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index e754d6a..0bec0f1 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -2306,6 +2306,18 @@
<meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
android:value="true" />
</activity>
+ <activity android:name="Settings$ManagedProfileSettingsActivity"
+ android:label="@string/managed_profile_settings_title"
+ android:taskAffinity=""
+ android:parentActivityName="Settings"
+ android:permission="android.permission.MANAGE_USERS">
+ <intent-filter android:priority="1">
+ <action android:name="android.settings.MANAGED_PROFILE_SETTINGS" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
+ <meta-data android:name="com.android.settings.FRAGMENT_CLASS"
+ android:value="com.android.settings.accounts.ManagedProfileSettings" />
+ </activity>
<activity android:name="com.android.settings.accounts.AddAccountSettings"
android:theme="@android:style/Theme.Translucent.NoTitleBar"