summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorHai Zhang <zhanghai@google.com>2020-12-30 18:30:25 -0800
committerHai Zhang <zhanghai@google.com>2021-01-06 14:07:11 -0800
commita677335c585ae45863946260d0d7f0e487a8f028 (patch)
tree1d227debef70689556d80adbe29ea28e005733fd /tools/aapt2/diff/Diff.cpp
parentdb9c5903228fde9b8f9f78faf537055e2e95ba5a (diff)
Make AndroidFuture and ServiceConnector ready for module usage.
By moving to system APIs when applicable. Notable changes include: 1. Re-implement reading/writing Throwables from/to Parcel, without Parcel private APIs. 2. Use the public API new Handler(Looper.getMainLooper()) instead of Handler.getMain(). 3. Use lambdas directly instead of PooledLambda, because the latter would require bundling 20+ classes to bootclasspath for each module using it, while AndroidFuture and ServiceConnector won't be creating a great number of lambdas in a short time. 4. A bug that calls initCause() with the Throwable itself is fixed. Bug: 158736025 Test: presubmit Change-Id: I577da5a3bc4ed537123b7eceaa5addf8f7bb0d92
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions