summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertex.java
diff options
context:
space:
mode:
authorKweku Adams <kwekua@google.com>2021-02-18 10:53:12 -0800
committerKweku Adams <kwekua@google.com>2021-02-18 10:53:12 -0800
commite57d5ac376022a042dd8afdc3a69bf5c0e015bd6 (patch)
tree2dca2ae14ab362fb87b7f470041278505787c141 /rs/java/android/renderscript/ProgramVertex.java
parentf3efab132663c5e96aaad5b405c23dc64f4575d6 (diff)
Remove unnecessary permission check.
There's no reason for getPowerSaveModeTrigger to require the POWER_SAVER permission. The API is only marked as a SystemApi because it was designed for a specific use case and 3rd party apps don't need to know the information, but there's no problem if they get the value. All the value tells you is whether the device will turn on battery saver automatically based on the percentage level or if it'll turn on automatically based on a different dynamic signal. Bug: 174241855 Test: atest android.os.cts.PowerManagerTest Test: atest android.permission.cts.PowerManagerServicePermissionTest Test: atest CtsPermission2TestCases Test: atest SettingsProviderTest Change-Id: I3146a681d9c5da9c68a7e6b38b50314b293dc924
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertex.java')
0 files changed, 0 insertions, 0 deletions