diff options
author | Victoria Lease <violets@google.com> | 2012-12-05 09:57:40 -0800 |
---|---|---|
committer | Victoria Lease <violets@google.com> | 2012-12-05 12:15:16 -0800 |
commit | 5959bf2d3c7fcfa4058cbcf81c3dc376c962d25e (patch) | |
tree | 9b2be150745dc6278021f9a2523754f867b15830 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 82a76800ad78b7aa6e2bde2f6512e4ffbe21873f (diff) |
DO NOT MERGE Adjust update interval when expiring location requests.
Cherry-pick I88b419c92940b7e536d48b26e5fc0f72f3c9e73d
This is a more complete solution for this issue that disables
location providers when expiring their last request *and* adjusts
update intervals when expiring any request. This should help
further limit battery drain when a high-frequency-update app
exits, as it allows the system to throttle the update interval
back down to something appropriate for the remaining listeners.
Bug: 7611837
Change-Id: I7629a90f4c693be4bf96d662bd3a8b06dae0b089
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions