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

Commit 914b6724 authored by Richard LIU's avatar Richard LIU Committed by Steve Kondik
Browse files

Ignore IMS type APN when notify data connection

Do not add IMS type APN in mConnectedApns.

Change-Id: I339a2c411f94572c00e9df48deb38aab1046e581
parent 6fcfa2e8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1063,7 +1063,8 @@ class TelephonyRegistry extends ITelephonyRegistry.Stub {
                }
                boolean modified = false;
                if (state == TelephonyManager.DATA_CONNECTED) {
                    if (!mConnectedApns[phoneId].contains(apnType)) {
                    if (!mConnectedApns[phoneId].contains(apnType)
                            && !apnType.equals(PhoneConstants.APN_TYPE_IMS)) {
                        mConnectedApns[phoneId].add(apnType);
                        if (mDataConnectionState[phoneId] != state) {
                            mDataConnectionState[phoneId] = state;