Skip to content
Commit 80ee5fc1 authored by Jiakai Zhang's avatar Jiakai Zhang
Browse files

Fix a logic error in `getDexoptNeeded`.

When an app has already been compiled with "speed-profile", it should
not be re-compiled with a worse compiler filter such as "verify", even
if the odex file can be public after then.

Bug: 236682949
Bug: 236816601
Test: atest AdbRootDependentCompilationTest#testCompile_usedByOtherApps
Change-Id: I290096bf8192a6f695ab8fc8e2a24edbc10ecd74
parent 82c3268c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment