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

Commit 94f57882 authored by joonhunshin's avatar joonhunshin Committed by Joonhun Shin
Browse files

Cleanup : remove ignore_already_terminated_incoming_call_before_registering_listener flag

Bug: 409609910
Test: atest ImsManagerTest
Flag: EXEMPT (remove flag)
Change-Id: Iccf512545befe232f1da5de89becc117d40ad1bd
parent b7e75c2d
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
@@ -29,7 +29,6 @@ import android.util.Log;

import com.android.ims.internal.IImsCallSession;
import com.android.ims.internal.IImsVideoCallProvider;
import com.android.internal.telephony.flags.Flags;
import com.android.internal.telephony.util.TelephonyUtils;

import java.util.ArrayList;
@@ -546,12 +545,10 @@ public class ImsCallSession {
            try {
                iSession.setListener(mIImsCallSessionListenerProxy);
            } catch (RemoteException e) {
                if (Flags.ignoreAlreadyTerminatedIncomingCallBeforeRegisteringListener()) {
                // Registering listener failed, so other operations are not allowed.
                Log.e(TAG, "ImsCallSession : " + e);
                mClosed = true;
            }
            }
        } else {
            mClosed = true;
        }