diff options
author | Eran Messeri <eranm@google.com> | 2020-12-02 11:44:47 +0000 |
---|---|---|
committer | Eran Messeri <eranm@google.com> | 2020-12-02 11:44:47 +0000 |
commit | da887be72fbd7740aa6afc7a212231e070c32fc5 (patch) | |
tree | 6d4722e0e8dab6195776d2f15044e36c802f6751 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | d90d2cad62f3cf33192fa4f6684aeda0cb9d0f87 (diff) |
Cleanup: Compatibility checking in DPMS
Rather than call the IPlatformCompat service directly, use the
CompatChanges class via the Injector.
This reduces boilerplate code dealing with the service and eases
testing as it's easier to fake/mock the injector.
Bug: 165573442
Test: atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testResetPasswordWithToken com.android.cts.devicepolicy.MixedDeviceOwnerTestApi25#testPasswordRequirementsApi
Change-Id: Ieb29f87a4a09910cd5f710cd1e0ddd4b62e808e4
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions