diff options
author | Soonil Nagarkar <sooniln@google.com> | 2020-06-29 20:01:59 -0700 |
---|---|---|
committer | Soonil Nagarkar <sooniln@google.com> | 2020-06-29 20:01:59 -0700 |
commit | 1d7e0baad5c0d26bd239a4ca12810c1738077a46 (patch) | |
tree | cb7bff036e1ca8f4d10e4166d68d32210be745e3 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 227327ece093358e32ee75a79508cdb94523becc (diff) |
Remove onRemoved callbacks
Removes the necessity for LMS to call back into client code to inform
the client that a location listener has been removed. This is replaced
with weak references instead, which allows the garbage collector to
handle cleanup instead. This simplifies LMS implementation and makes it
less buggy.
Also includes some rewrites of getCurrentLocation to use a dedicated
AIDL interface now that the onRemoved channel is no longer available,
as well as various other minor refactors.
Test: manual + presubmits
Change-Id: Ic61ce278c44e23bc5da5b703f89f6e656e89dea2
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions