summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2021-03-29 09:39:08 -0600
committerJeff Sharkey <jsharkey@google.com>2021-03-31 14:19:33 +0000
commit2d9355bc449842c7cd0a58afb5095ee20453068d (patch)
tree56b35cf1bb41ac098ea879e6bf2a02d3243d996a /tools/aapt2/java/JavaClassGenerator_test.cpp
parent456fb2e78bab4ab585a3977a4d2b0fb1d6b4ee49 (diff)
Continue populating legacy data structures.
Previous work implemented getRequestedPermissions() by dynamically constructing the legacy list of requested permissions, along with a deprecation message to migrate to ParsedUsesPermission, but there are too many callers to migrate at this stage of the release. For now, to mitigate performance issues that arose, this change builds a parallel list of requested permissions to avoid the overhead of dynamically building the legacy list. Bug: 183223056 Test: atest FrameworksServicesTests:PackageParserTest Test: atest com.android.server.pm.parsing Test: atest -p core/java/android/content/pm \ core/java/com/android/internal/content \ services/core/java/com/android/server/pm \ services/tests/servicestests/src/com/android/server/pm Change-Id: I538fbc12a9fd34f5ad5d63177ac5a2cb9a1ff3ce
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions