summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJordan Liu <jminjie@google.com>2020-01-21 10:55:08 -0800
committerJordan Liu <jminjie@google.com>2020-02-03 09:27:54 -0800
commit14747aa9fd8d91252c000bc671630820052b421d (patch)
tree530c1d3e309cfdf36aa8b2d20390ab6e23f998dc /tools/aapt2/java/JavaClassGenerator.cpp
parentd21c45fc95c64e3139016954bb099e057299037b (diff)
Create new context with new resources
The old implementation of this function had the unintended side effect of modifying the default configuration for the context which the caller passed in. This CL avoids that by creating a new context with the new configuration. Test: atest SubscriptionControllerTest#testGetResourcesForSubId Bug: 146481715 Change-Id: I6539817caa67e1100e50018fa0186993a1f56ccb
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions