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

Commit 4053ba45 authored by Rubin Xu's avatar Rubin Xu Committed by Android (Google) Code Review
Browse files

Merge "Fix deadlock of starting intent during turing on profile" into rvc-dev

parents 9fa94145 1f3fab1a
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -455,11 +455,13 @@ public class UserManagerService extends IUserManager.Stub {

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