Skip to content
Commit 171b6d8e authored by Pavel Grafov's avatar Pavel Grafov
Browse files

Extract ActiveAdmin and DevicePolicyData from DPMS.

And some minor changes:

* Don't check uid of admin returned by PackageManager since
it would only happen as a result of a horrible bug and looks
defensive.

* Don't check CrossUserPermission and feature flag in findAdmin
since it is only invoked from already trusted low level context
and not exposed via binder.

* Some redundant null checks.

* Inclusive language.

* Removed non-standard indentation in dupm() methods, replaced
  by newlines. Also added some missing spaces.

Test: presubmit
Bug: 162317175
Change-Id: Ib30787d5205235f33e350e0e66b390940b723bca
parent f577e3ed
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