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

Commit 2bd40f90 authored by Rubin Xu's avatar Rubin Xu Committed by Automerger Merge Worker
Browse files

Merge "Fix deadlock of starting intent during turing on profile" into rvc-dev am: 4053ba45

Change-Id: I72f7e707c68818ca8ccae4d36088ccc220f7df3c
parents a5f530a9 4053ba45
Loading
Loading
Loading
Loading
+7 −5
Original line number Original line Diff line number Diff line
@@ -455,11 +455,13 @@ public class UserManagerService extends IUserManager.Stub {


        @Override
        @Override
        public void onFinished(int id, Bundle extras) {
        public void onFinished(int id, Bundle extras) {
            mHandler.post(() -> {
                try {
                try {
                    mContext.startIntentSender(mTarget, null, 0, 0, 0);
                    mContext.startIntentSender(mTarget, null, 0, 0, 0);
                } catch (IntentSender.SendIntentException e) {
                } catch (IntentSender.SendIntentException e) {
                    Slog.e(LOG_TAG, "Failed to start the target in the callback", e);
                    Slog.e(LOG_TAG, "Failed to start the target in the callback", e);
                }
                }
            });
        }
        }
    }
    }