summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Jiakai Zhang <jiakaiz@google.com> 2024-06-10 09:45:13 +0100
committer Jiakai Zhang <jiakaiz@google.com> 2024-06-10 15:18:58 +0100
commit5e038b007c9a563f96b9217f4d54382e06759aad (patch)
treec75990f33631a85b8885423d446a2781cf9d7ef6 /libs/androidfw/StringPool.cpp
parentd30e9888dab1b10b29b84de143b3174bd42fd7ac (diff)
Allow users to specify a compiler filter when installing through adb.
This change adds an adb install flag '--dexopt-compiler-filter FILTER'. If specified, it overrides the default compiler filter for dexopt during installation. Also, this change makes the package manager call dexopt even if the compiler filter is "skip". Bug: 323082746 Test: atest CtsCompilationTestCases Test: "adb install" a non-debuggable app: Dexopt is performed with the "speed-profile" filter. Test: "adb install" a debuggable app: Dexopt is skipped. Test: "adb install" a debuggable app with "--dexopt-compiler-filter verify": Dexopt is performed with the "verify" filter. Test: "adb install" an app with "--dexopt-compiler-filter bogus": Dexopt fails. The installation succeeds with a warning about the dexopt failure. Change-Id: I0385f40ebe3cc77cf998c880889576623683388a
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions