Merge change 6143 into donut
* changes: Fix the simulator.
This commit is contained in:
@@ -1918,7 +1918,7 @@ class PackageManagerService extends IPackageManager.Stub {
|
|||||||
|
|
||||||
private int performDexOptLI(PackageParser.Package pkg, boolean forceDex) {
|
private int performDexOptLI(PackageParser.Package pkg, boolean forceDex) {
|
||||||
boolean performed = false;
|
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;
|
String path = pkg.mScanPath;
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user