summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Pavel Grafov <pgrafov@google.com> 2024-08-22 15:12:56 +0100
committer Pavel Grafov <pgrafov@google.com> 2024-08-29 15:00:42 +0100
commit3729573a87861339e3777cb58abe328d2a6ea7a0 (patch)
treee9df13c501a49be6ae13e95e4146399a7869c374 /libs/androidfw/StringPool.cpp
parent992ffb63a07d4032ec1fb6e011342175dfb41e7c (diff)
Don't count DMRH as admin on non managed users.
Don't treat DMRH as an active admin if the user isn't organization managed. This will allow uninstalling DMRH package if it isn't preinstalled and uninstalling updates when it is preinstalled on unmanaged users. Devices managed by Financed DO are not considered organization managed. Starting from U DMRH has the tools to protect itself if necessary, e.g. via DPM.setUserControlDisabledPackages(). Bug: 360807442 Test: btest a.d.c.DevicePolicyManagementRoleHolderTest Flag: EXEMPT bugfix Change-Id: I99d86bbe9e7160db9274a5d6bc4ee325d4010f79
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions