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

Commit 99b8efc7 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5713463) into...

Merge "DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5713463) into stage-aosp-master" into stage-aosp-master
parents cce1907f ef3c3ef4
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -1807,7 +1807,15 @@ public class CallsManager extends Call.ListenerBase
            confirmIntent.putExtra(CallRedirectionConfirmDialogActivity.EXTRA_REDIRECTION_APP_NAME,
                    mRoleManagerAdapter.getApplicationLabelForPackageName(callRedirectionApp));
            confirmIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);

            // A small delay to start the activity after any Dialer's In Call UI starts
            mHandler.postDelayed(new Runnable("CM.oCRC", mLock) {
                @Override
                public void loggedRun() {
                    mContext.startActivityAsUser(confirmIntent, UserHandle.CURRENT);
                }
            }.prepare(), 500 /* Milliseconds delay */);

        } else {
            call.setTargetPhoneAccount(phoneAccountHandle);
            placeOutgoingCall(call, handle, gatewayInfo, speakerphoneOn, videoState);