diff options
| author | 2024-09-18 16:34:11 +0100 | |
|---|---|---|
| committer | 2024-10-18 23:48:11 +0000 | |
| commit | 389aab722a4ca5ec4f03131d189f32588344ad10 (patch) | |
| tree | 83745a1527d7dc9819a516dc4f9af7ba5a2f8a12 /api/api.go | |
| parent | 585910c11ec914190013d8b77f3d4bca79072b2c (diff) | |
Block uninstall if DMRH in a managed user
Previous change introduced a bug - on a personal device with a work
profile the user could uninstall updates from the personal side, thus
downgrading DMRH in the work profile, breaking it. With this change if a
package is DMRH on any managed user, uninstall will be blocked
Bug: 360807442
Test: btest a.d.c.DevicePolicyManagementRoleHolderTest
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3d5d962a6156fa822c0038e85315e7823a68ff59)
Merged-In: I9fd8bed4a8203f3dbfa8dc4ea1388e7c8d136d9a
Change-Id: I9fd8bed4a8203f3dbfa8dc4ea1388e7c8d136d9a
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions