Merge "Do not bother to remove pending installs" into jb-dev
This commit is contained in:
@ -523,7 +523,6 @@ public class PackageManagerService extends IPackageManager.Stub {
|
|||||||
// Something seriously wrong. Bail out
|
// Something seriously wrong. Bail out
|
||||||
Slog.e(TAG, "Cannot bind to media container service");
|
Slog.e(TAG, "Cannot bind to media container service");
|
||||||
for (HandlerParams params : mPendingInstalls) {
|
for (HandlerParams params : mPendingInstalls) {
|
||||||
mPendingInstalls.remove(0);
|
|
||||||
// Indicate service bind error
|
// Indicate service bind error
|
||||||
params.serviceError();
|
params.serviceError();
|
||||||
}
|
}
|
||||||
@ -575,7 +574,6 @@ public class PackageManagerService extends IPackageManager.Stub {
|
|||||||
if (!connectToService()) {
|
if (!connectToService()) {
|
||||||
Slog.e(TAG, "Failed to bind to media container service");
|
Slog.e(TAG, "Failed to bind to media container service");
|
||||||
for (HandlerParams params : mPendingInstalls) {
|
for (HandlerParams params : mPendingInstalls) {
|
||||||
mPendingInstalls.remove(0);
|
|
||||||
// Indicate service bind error
|
// Indicate service bind error
|
||||||
params.serviceError();
|
params.serviceError();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user