am 7e8cbfc2: Merge change 6143 into donut
Merge commit '7e8cbfc2bc3ea2334c38db7fd2b6a1e17eefcac6' * commit '7e8cbfc2bc3ea2334c38db7fd2b6a1e17eefcac6': Fix the simulator.
This commit is contained in:
committed by
The Android Open Source Project
commit
4753ff4466
@@ -1921,7 +1921,7 @@ class PackageManagerService extends IPackageManager.Stub {
|
||||
|
||||
private int performDexOptLI(PackageParser.Package pkg, boolean forceDex) {
|
||||
boolean performed = false;
|
||||
if ((pkg.applicationInfo.flags&ApplicationInfo.FLAG_HAS_CODE) != 0) {
|
||||
if ((pkg.applicationInfo.flags&ApplicationInfo.FLAG_HAS_CODE) != 0 && mInstaller != null) {
|
||||
String path = pkg.mScanPath;
|
||||
int ret = 0;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user