commit | ee0931f5bae4be4b1b2215cae910678a01e3bd1b | [log] [tgz] |
---|---|---|
author | Yanting Yang <yantingyang@google.com> | Tue May 10 07:06:14 2022 +0800 |
committer | Yanting Yang <yantingyang@google.com> | Tue May 10 07:06:14 2022 +0800 |
tree | 1ff5df24c16614798dc3c1f087a2648017a63e13 | |
parent | 286682ec8ab1f20957a96529d8401bb0bd0acf37 [diff] |
Fix reset app preferences for work profile apps In the past, Settings didn't support resetting the disable status of work profile apps, it doesn’t follow the behavior that the reset dialog mentioned. To fix it, we are going to check apps by enabling user profiles and user id. If the work profile is enabled, we will also reset them when users select to reset app preferences. Bug: 187387211 Test: manual Change-Id: I25fd0129335539a23ed2ee0af57fdd9714eddf74