Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0eaeb69d authored by Kenny Root's avatar Kenny Root Committed by Android (Google) Code Review
Browse files

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

parents c40a7fe0 14ae367c
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -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();
                            }
                            }