summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2020-03-31 19:51:34 -0700
committerCalin Juravle <calin@google.com>2020-04-01 12:24:34 -0700
commitc2deeefef2abff2ce355d012a0bd2b1cd8258d18 (patch)
tree37192205cb25a10dc6554189930620b4cb00c102 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent7c8fd2978713f7ff943276485f788f2981955631 (diff)
Ensure that loading packages can be extended
Collections.emptySet() creates an immutable collection which will prevent us to add more packages to the loading packages set. Instead of using the emptySet, create a new set everytime, even if it's empty. Test: PackageDexUseTest Bug: 148774920 Change-Id: If274d0380d494d31768da24c10153810ef8bf513
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions