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

Commit 3a72957b authored by Jack Yu's avatar Jack Yu
Browse files

Disallow data when QNS switched the preference

When the preference has switched to another transport, do
not allow data setup. This avoid the case that data service
keeps asking telephony to retry while QNS already switched
the preference to another transport.

Test: Manual
Fix: 182899920
Fix: 175399007
Merged-In: I1a0c86a978756d5b05851d939e011010f8f1afc2
Change-Id: I1a0c86a978756d5b05851d939e011010f8f1afc2
(cherry picked from commit 50a8fcce)
parent 1f5ba0b2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -62,6 +62,7 @@ public final class AccessNetworkConstants {
        switch (transportType) {
            case TRANSPORT_TYPE_WWAN: return "WWAN";
            case TRANSPORT_TYPE_WLAN: return "WLAN";
            case TRANSPORT_TYPE_INVALID: return "INVALID";
            default: return Integer.toString(transportType);
        }
    }