Merge "Do not bother to remove pending installs" into jb-dev

This commit is contained in:
Kenny Root
2012-05-22 08:54:30 -07:00
committed by Android (Google) Code Review

View File

@ -523,7 +523,6 @@ public class PackageManagerService extends IPackageManager.Stub {
// Something seriously wrong. Bail out
Slog.e(TAG, "Cannot bind to media container service");
for (HandlerParams params : mPendingInstalls) {
mPendingInstalls.remove(0);
// Indicate service bind error
params.serviceError();
}
@ -575,7 +574,6 @@ public class PackageManagerService extends IPackageManager.Stub {
if (!connectToService()) {
Slog.e(TAG, "Failed to bind to media container service");
for (HandlerParams params : mPendingInstalls) {
mPendingInstalls.remove(0);
// Indicate service bind error
params.serviceError();
}