Clean up comment

Bug: 63756964
Bug: 74245837
Test: untested
Change-Id: I47a0fbab7da9cd87ec9e7dc03b2bc00e5668eae3
This commit is contained in:
Mathieu Chartier
2018-03-08 13:11:40 -08:00
parent 7ac5deaf38
commit 28c4c9b04a

View File

@@ -533,7 +533,7 @@ public class PackageDexOptimizer {
// Some apps are executed with restrictions on hidden API usage. If this app is one
// of them, pass a flag to dexopt to enable the same restrictions during compilation.
int hiddenApiFlag = info.isAllowedToUseHiddenApi() ? 0 : DEXOPT_ENABLE_HIDDEN_API_CHECKS;
// Enable CompactDex generation for modes that aren't latency critical.
// Avoid generating CompactDex for modes that are latency critical.
final int compilationReason = options.getCompilationReason();
boolean generateCompactDex = true;
switch (compilationReason) {