Merge "Clean up comment"

This commit is contained in:
Mathieu Chartier
2018-03-08 23:38:47 +00:00
committed by Gerrit Code Review

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) {