commit | 80ee5fc12d1fbf2b973d42d9189567df4098d3a2 | [log] [tgz] |
---|---|---|
author | Jiakai Zhang <jiakaiz@google.com> | Wed Jun 22 11:20:07 2022 +0100 |
committer | Jiakai Zhang <jiakaiz@google.com> | Wed Jun 22 14:15:11 2022 +0000 |
tree | da45b5c73e055aee5b0e2c36e7fbd011a78be22a | |
parent | 82c3268cbec2fd56e79252f5cf029e5153416e26 [diff] |
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