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

Commit 0d15abc7 authored by Ruben Brunk's avatar Ruben Brunk Committed by android-build-merger
Browse files

Merge "Fix crash in ManagedApplicationService." into nyc-dev

am: 3876fbcf

* commit '3876fbcf':
  Fix crash in ManagedApplicationService.
parents 740a46eb 3876fbcf
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -62,8 +62,6 @@ public class ManagedApplicationService {
    private IInterface mBoundInterface;
    private PendingEvent mPendingEvent;



    private ManagedApplicationService(final Context context, final ComponentName component,
            final int userId, int clientLabel, String settingsAction,
            BinderChecker binderChecker) {
@@ -211,6 +209,7 @@ public class ManagedApplicationService {
                        } else {
                            // Service connection wasn't pending, must have been disconnected
                            mContext.unbindService(this);
                            return;
                        }

                        try {
@@ -242,6 +241,8 @@ public class ManagedApplicationService {
                @Override
                public void onServiceDisconnected(ComponentName componentName) {
                    Slog.w(TAG, "Service disconnected: " + intent);
                    mConnection = null;
                    mBoundInterface = null;
                }
            };