Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3729573a authored by Pavel Grafov's avatar Pavel Grafov
Browse files

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
parent 992ffb63
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment