diff options
author | Pavel Grafov <pgrafov@google.com> | 2020-07-28 12:32:12 +0100 |
---|---|---|
committer | Pavel Grafov <pgrafov@google.com> | 2020-08-07 15:51:55 +0100 |
commit | 171b6d8ee0a5a830992a26b499fc24bdc71763c5 (patch) | |
tree | 1dcd8c0d5c072b93d3a365fe6489fde9c62dad9e /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | f577e3edefe16b34391e91cd16a1d36da96eb742 (diff) |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions