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

Commit 7e06e52d authored by Pawit Pornkitprasan's avatar Pawit Pornkitprasan Committed by Gerrit Code Review
Browse files

SamsungRIL: Update HSDPA checking for jellybean

Jellybean no longer publish network type id to prop, don't check for it

Change-Id: I689aa448853677a8719af963bf3370abaefdaf23
parent caa215a2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -379,9 +379,9 @@ public class SamsungRIL extends RIL implements CommandsInterface {
            String curState = SystemProperties.get(TelephonyProperties.PROPERTY_DATA_NETWORK_TYPE);
            boolean curHsdpa = false;

            if (curState.equals("HSDPA:9")) {
            if (curState.startsWith("HSDPA")) {
                curHsdpa = true;
            } else if (!curState.equals("UMTS:3")) {
            } else if (!curState.startsWith("UMTS")) {
                // Don't send poll request if not on 3g
                break;
            }