Fix issue #2641875: Apps on sdcard not accesible after update

Change-Id: I541aa040939e6a872f0b7e8e82e44f96de49d97a
This commit is contained in:
Dianne Hackborn
2010-04-29 11:56:40 -07:00
parent b40c42f1ff
commit c956f37567

View File

@@ -9553,8 +9553,7 @@ class PackageManagerService extends IPackageManager.Stub {
}
if (DEBUG_SD_INSTALL) Log.i(TAG, "Looking for pkg : " + pkgName);
PackageSetting ps = mSettings.mPackages.get(pkgName);
if (ps != null && ps.codePathString != null &&
(ps.pkgFlags & ApplicationInfo.FLAG_EXTERNAL_STORAGE) != 0) {
if (ps != null && ps.codePathString != null) {
if (DEBUG_SD_INSTALL) Log.i(TAG, "Container : " + cid +
" corresponds to pkg : " + pkgName +
" at code path: " + ps.codePathString);