commit | 3d5d962a6156fa822c0038e85315e7823a68ff59 | [log] [tgz] |
---|---|---|
author | Pavel Grafov <pgrafov@google.com> | Wed Sep 18 16:34:11 2024 +0100 |
committer | Pavel Grafov <pgrafov@google.com> | Wed Sep 18 16:34:56 2024 +0100 |
tree | 50d115fce12e2d854459e61ebad8234fc045ecaa | |
parent | 350d40e992216a7ebf7acd0570ce45a158016a50 [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 Change-Id: I9fd8bed4a8203f3dbfa8dc4ea1388e7c8d136d9a