Merge "Only install after MCS success" into gingerbread
This commit is contained in:
@ -5019,8 +5019,13 @@ class PackageManagerService extends IPackageManager.Stub {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
void handleReturnCode() {
|
void handleReturnCode() {
|
||||||
|
// 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);
|
processPendingInstall(mArgs, mRet);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
void handleServiceError() {
|
void handleServiceError() {
|
||||||
|
Reference in New Issue
Block a user