diff options
author | Soonil Nagarkar <sooniln@google.com> | 2020-11-05 14:04:02 -0800 |
---|---|---|
committer | Soonil Nagarkar <sooniln@google.com> | 2020-11-10 15:44:44 -0800 |
commit | 623cf937ba592aea81fd133e89a38e8ae2ba884f (patch) | |
tree | 5e25e4602169526bfbb68d31dea6117a0cb26c17 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | bf126a7af352323b9a2655bf15de2d7a7a9a68b0 (diff) |
Various GNSS cleanups
-Remove GNSS disable on idle behavior. This breaks the contract of
location providers and seems likely to increase power usage by forcing
more network location usage in some circumstances. Power save modes
are already handled at a higher level, the GNSS location provider
should not need to care about them.
-Remove some unnecessary thread trampolining.
-Reorganize vars to better conform to standard ordering practices
(statics first, etc).
-Prevent double reporting of network locations to GNSS HAL.
-Prevent mock locations from being reported to the HAL.
-Switch to listener alarms instead of pending intent alarms.
Test: presubmits
Change-Id: I8c526f32b1dbcdac419d1d7644fc2e511b0f9b5c
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions