summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorKweku Adams <kwekua@google.com>2019-08-28 07:45:00 -0700
committerKweku Adams <kwekua@google.com>2019-10-29 11:04:12 -0700
commitb8bb9fb569f004a39d33470ddf491437d2ae4645 (patch)
tree12d37a64142d4d4710364d0198f3019a8ac7417c /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent06a28b0655321ce2c9cf7f9a7658eafeb8b4d0f2 (diff)
Don't disable GPS in Doze until the device is stationary.
GPS is normally disabled when the device is Dozing. This means that GPS is turned off in Battery Saver when quick doze is enabled. This interferes with navigation and possibly other use cases. This changes the behavior so that GPS is only disabled during Dozing if the device is stationary. This will not interfere with regular Doze since the device has to be stationary before it will enter regular Doze, and also allows GPS to continue to work when Quick Doze activates while the user is still carrying the device around. Bug: 140162457 Test: atest BatterySaverLocationTest Test: atest com.android.server.DeviceIdleControllerTest Test: [manual] Shorten motion timeout, step into idle, check gps provider dump after short timeout to check mDisableGpsForPowerManager=true Merged-In: I7bc68c8a5e6744aac3a160ac14fc3375f9374d82 Change-Id: I7bc68c8a5e6744aac3a160ac14fc3375f9374d82 (cherry picked from commit 810c77d5a0551942a1863a6fbad8478f0e3ee792)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions