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

Skip to content
Commit 1b7f9845 authored by Felipe Leme's avatar Felipe Leme
Browse files

Fixed DPMS.setDeviceOwner() permission check.

It was not clearing the caller's identity before calling
manageUserUnchecked().

Test: atest com.android.bedstead.nene.devicepolicy.DevicePolicyTest#setDeviceOwner_deviceOwnerIsAlreadySet_throwsException

Fixes: 200810234

Change-Id: I3f96e1bf477f310d0c8eee935839cf401df44e02
parent 292c4941
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