OSDN Git Service

Setting should handle android.settings.SYNC_SETTINGS from managed profile
authorRubin Xu <rubinxu@google.com>
Thu, 17 May 2018 13:48:49 +0000 (14:48 +0100)
committerRubin Xu <rubinxu@google.com>
Thu, 17 May 2018 13:55:58 +0000 (14:55 +0100)
commit71560fcba151dff5423f4f0d7a99239c280bfe5a
tree88cdfedce5a86950c9f2b9ab1add5f5f09111772
parent37a6a9144409d4cd89415241d86ac75c31de3d8c
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
AndroidManifest.xml