Files
packages_apps_Settings/src/com/android/settings
Alex Johnston 051c3ecaa3 Add policy transparency dialog to 'Remove work profile'
* In New COPE mode, no explanation was being shown to the
  user as to why the work profile cannot be removed.
* This CL adds a policy transparency dialog when the
  'Remove work profile' preference is selected.
* This was done by modifying AccountRestrictionHelper to
  set the preference to disabled by admin if the device is
  in New COPE mode and the base restriction
  DISALLOW_REMOVE_MANAGED_PROFILE is enforced.

Bug: 149391073
Test: Manual testing
Change-Id: Iec0f57b988e1d4fd08bca040abd1bb30b6991507
Merged-In: Iec0f57b988e1d4fd08bca040abd1bb30b6991507
(cherry picked from commit 56e8278498)
2020-03-02 12:05:22 +00:00
..
2019-10-03 15:04:36 +08:00
2019-09-25 18:24:56 +08:00
2020-02-18 17:32:09 +08:00
2020-02-24 07:04:03 +00:00
2019-09-25 18:24:56 +08:00
2019-09-25 18:24:56 +08:00