Merge "Only install after MCS success" into gingerbread

This commit is contained in:
Kenny Root
2010-07-30 16:55:37 -07:00
committed by Android (Google) Code Review

View File

@ -5019,7 +5019,12 @@ class PackageManagerService extends IPackageManager.Stub {
@Override @Override
void handleReturnCode() { void handleReturnCode() {
processPendingInstall(mArgs, mRet); // If mArgs is null, then MCS couldn't be reached. When it
// reconnects, it will try again to install. At that point, this
// will succeed.
if (mArgs != null) {
processPendingInstall(mArgs, mRet);
}
} }
@Override @Override