Skip to content
Commit 0754ce94 authored by Felipe Leme's avatar Felipe Leme
Browse files

Fixes DPMS.getEnforcingAdminAndUserDetailsInternal()

It was not properly setting the admin when the user restriction was
set by both DPC and system (for example, location being disabled for
work profile by Settings).

Similarly, RestrictedLockUtilsInternal.checkIfRestrictionEnforced()
was not setting the EnforcedAdmin user when there were multiple
sources.

Test: manual verification using CtsVerifier

Bug: 128928355
Fixes: 208501696

Change-Id: Ia0c1489ba0eadd67b9a8e802eb8640c9c1236e44
parent 238c6d65
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment