summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorSoonil Nagarkar <sooniln@google.com>2020-09-16 17:51:54 -0700
committerSoonil Nagarkar <sooniln@google.com>2020-09-30 11:38:09 -0700
commit6e410506126f5fbb5425a847ea760d9b97661924 (patch)
tree2c86b81f26acb43ecc6fbaf9dcfd11d1330775e9 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent3709d3ef005a1e2032de0c9df442d0326d31bffd (diff)
Fix background request throttling + jitter calculation
Prevent applications from bypassing background location throttling by adding/removing requests. This allows provider managers to delay requests in the event the interval has decreased so that power can be saved. Clients that target S and above may now receive historical locations in exchange, so that they are not losing locations overall. Locationp providers can optionally implement delays themselves in the event of an interval increase. Also updates jitter calculation to be a capped percentage of the request interval, rather than a flat cap. Bug: 73144566 Test: manual + presubmits Change-Id: I243e813f0c0c504850e2a3e777787f49fc6f7a57
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions