diff options
author | Soonil Nagarkar <sooniln@google.com> | 2020-10-01 16:53:12 -0700 |
---|---|---|
committer | Soonil Nagarkar <sooniln@google.com> | 2020-10-06 00:14:55 -0700 |
commit | 5d47f1e2cd7d7ac5c4de1626f58fd7988d94f73b (patch) | |
tree | cfafa1774f683bcb0a643f9570541d72ad8772c3 /rs/java/android/renderscript/ProgramStore.java | |
parent | a7578af121a16bc531add0b43bde1c1ae56bf964 (diff) |
Various location fixes
-Prevent PendingIntents from using LocationRequest SystemApis. We don't
track permission removal, so we don't current reset the request if the
permission is lost.
-Make LocationRequest.getWorkSource() NonNull. Small quality of life
change to reduce null checks all over.
-Don't spend CPU coarsening location until we actually need to. The vast
majority of locations will never need to be coarsened. Don't bother
doing so until we actually need to.
Bug: 169887240
Test: manual + presubmit
Change-Id: I7ad6fe886eaede3ed9f46cebe4246d29d6b6e187
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions