Revert "Revert "Fix optimizable package filter""
The issue was traced to go/aog/854901. This revert was only temporary.
Bug: 26863668
This reverts commit d9c31db2e9.
Change-Id: I6724059db18263936cc392651c621d27836f1c33
This commit is contained in:
@@ -70,8 +70,7 @@ final class PackageDexOptimizer {
|
||||
}
|
||||
|
||||
static boolean canOptimizePackage(PackageParser.Package pkg) {
|
||||
return pkg.canHaveOatDir() &&
|
||||
((pkg.applicationInfo.flags & ApplicationInfo.FLAG_HAS_CODE) != 0);
|
||||
return (pkg.applicationInfo.flags & ApplicationInfo.FLAG_HAS_CODE) != 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user