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

Commit 71560fcb authored by Rubin Xu's avatar Rubin Xu
Browse files

Setting should handle android.settings.SYNC_SETTINGS from managed profile

When android.settings.SYNC_SETTINGS is fired from a managed profile, Settings
should handle it properly and displays the UI to manage accounts in the profile.
Since Settings uses a unified page to display both personal and work accounts,
it should redirect the intent to the UserAndAccountDashboardActivity in user 0

Bug: 79561138
Test: adb shell am start -a android.settings.SYNC_SETTINGS --user 10
      verifies the UI is showing work accounts

Change-Id: Ib82a04ad0ec72d58d60569e38538c5dbd6181bf0
parent 37a6a914
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3137,6 +3137,8 @@
                       android:value="com.android.settings.accounts.AccountDashboardFragment"/>
            <meta-data android:name="com.android.settings.category"
                       android:value="com.android.settings.category.ia.homepage"/>
            <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
                       android:value="true" />
        </activity>

        <activity