summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorMakoto Onuki <omakoto@google.com>2020-02-12 14:20:36 -0800
committerMakoto Onuki <omakoto@google.com>2020-02-24 22:22:13 +0000
commit2d80ca09fc1ee076c69d709639b2c3da1a5bc312 (patch)
treea22ff6c80368e9ac047861d9a4ea6618ef0a03f4 /tools/aapt2/java/JavaClassGenerator.cpp
parent85cbe43d48e36e459741d71c66c30efd4eced6fd (diff)
Squash same ApplicationInfo's in Parcel
ApplicationInfo now automatically tries to "squash" the same instances in a Parcel. NOTE: This CL still does *not* optimize the package manager APIs that return a list. e.g. PM.queryContentProviders() still return duplicate AppInfo's. We can optimize them by making ParcelableListSlice call "allowSquashing", but that *could* have negative side effects, so I'm not doing it in this CL. I think we can do that for S. Bug: 148588589 Test: atest CtsContentTestCases # except for two preexsiting failures: - android.content.pm.cts.PackageManagerTest#testGetIcon - android.content.pm.cts.PackageManagerTest#testGetPreferredActivities Test: Use the debugger and make sure bindApplication() is not receiving duplicate AppInfo's in the provider list. Change-Id: I3ba2c047a469169340c0f75c36bdfd394bc5d627 (cherry picked from commit 7d09275d700d3b7596da3a08f3a9594845cec7ab)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions