am 8271a531: am 3539cc5e: am 9f1900dc: Fix issue #2185893: Can not install 3D Media Gallery

Merge commit '8271a531b73ffa82202a223d28581c7c44e03d35'

* commit '8271a531b73ffa82202a223d28581c7c44e03d35':
  Fix issue #2185893: Can not install 3D Media Gallery
This commit is contained in:
Dianne Hackborn
2009-10-13 17:11:43 -07:00
committed by Android Git Automerger

View File

@@ -323,7 +323,8 @@ public class InstalledAppDetails extends Activity implements View.OnClickListene
try {
mAppInfo = mPm.getApplicationInfo(mAppInfo.packageName,
PackageManager.GET_UNINSTALLED_PACKAGES);
pkgInfo = mPm.getPackageInfo(mAppInfo.packageName, 0);
pkgInfo = mPm.getPackageInfo(mAppInfo.packageName,
PackageManager.GET_UNINSTALLED_PACKAGES);
} catch (NameNotFoundException e) {
Log.e(TAG, "Exception when retrieving package:" + mAppInfo.packageName, e);
showDialogInner(DLG_APP_NOT_FOUND);