summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorPatrick Baumann <patb@google.com>2019-05-29 09:18:58 -0700
committerPatrick Baumann <patb@google.com>2019-05-29 09:18:58 -0700
commitdcf19166c3d4102fcc4c1cd5c9b86b140e08fb72 (patch)
treee87d5ffbad0c9f3d48bca92fb2870145506e353b /tools/aapt2/java/JavaClassGenerator_test.cpp
parent26fdabb9a08c01b5fb55062d299dfea1e6eb1083 (diff)
Applies INSTALL_REPLACE_EXISTING outside of while loop
Prior to this change, the default behavior of replacing packages unless -R was provided would only happen if at least one command line argument was provided due to the actual setting of the flag happening within the while loop that parses arguments. This change moves the application outside of that loop, ensuring it's always set by default, even if no arguments are provided. Bug: 133453175 Test: adb install-multi-package ... with existing packages Change-Id: I6673bb92c318b0a328880a5e9eb7cc6f5ba0ff40
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions