diff options
author | Soonil Nagarkar <sooniln@google.com> | 2020-09-22 09:14:49 -0700 |
---|---|---|
committer | Soonil Nagarkar <sooniln@google.com> | 2020-09-22 10:33:11 -0700 |
commit | 05f32ddfabe1a41b0ecfd5220d774db165cdf341 (patch) | |
tree | 67ab4e62e6cf59cfc7baa4a15ce680420721fc6a /opengl/java/android | |
parent | 104baf809b4e4df38442e6e978756dc9467e7bb7 (diff) |
DO NOT MERGE Fix bug in getCurrentLocation cancellation
Cancellation was not being propagated to the system server due to a
misunderstanding on how CancellationSignal functions. There is no
noticable impact for the user, as cancellation did properly prevent any
further locations, however this would have resulted in extra
power draw since the system server would not have canceled the
associated provider location request. This would have left
getCurrentLocation() as equivalent to requestSingleUpdate() where it was
supposed to be an all-around improvement that could save power.
Bug: 168666216
Test: manual + presubmits
Change-Id: I5c77db4cc56cce1b984587f65d2bcfb488436bb8
Diffstat (limited to 'opengl/java/android')
0 files changed, 0 insertions, 0 deletions