Adding null check.

This commit is contained in:
Makoto Onuki
2010-02-09 13:16:02 -08:00
parent 2fe23de8e3
commit a7d7f79c40

View File

@@ -2750,9 +2750,9 @@ class PackageManagerService extends IPackageManager.Stub {
+ pkgSetting.name;
reportSettingsProblem(Log.WARN, msg);
}
// And now uninstall the old package.
mInstaller.remove(pkgSetting.origPackage.name, useEncryptedFSDir);
}
// And now uninstall the old package.
mInstaller.remove(pkgSetting.origPackage.name, useEncryptedFSDir);
mSettings.removePackageLP(pkgSetting.origPackage.name);
}
}