summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorKweku Adams <kwekua@google.com>2020-02-20 16:53:35 -0800
committerKweku Adams <kwekua@google.com>2020-02-24 19:28:33 +0000
commit0e2cbece6c539367d91d9587be15cf34b697840b (patch)
tree918e7217b15e9e0e0bf5301270091dfb28bc8050 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent27f83cdbcefd687632811996e25ece99f7e1ac69 (diff)
Allow location when Car mode is active.
Car mode may be activated without the user plugging the device into the car. In this scenario, the user is "interacting" with the device via the car and may need navigation to work. To allow this use case, we make sure battery saver doesn't disable location when the screen is off if car mode is enabled. Night mode is also disabled as it could affect the projected UI. Bug: 149586834 Test: atest android.os.cts.batterysaving.BatterySaverTest Test: atest BatterySaverPolicyTest Test: manual visual confirmation and adb shell dumpsys power scanning Change-Id: I3390c8a7f94652644f37027f3d22746a6af0efd6 (cherry picked from commit 8da3edbb564952f6de1871a2d535f4f98a71a8d0)
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions