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

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

Revert "Fixed DPMS.setDeviceOwner() permission check."

That change broke `dpm set-device-owner` on headless system user
because when the identiy was cleared, 'isAdb()` would return false.

Test: atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testDelegation
Bug: 200810234

This reverts commit 1b7f9845.

Change-Id: Ie12a58466af5fbfd834478aec98e0aef9384121f
parent a59f1a8a
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