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

Commit 7a2fa627 authored by Adnan Begovic's avatar Adnan Begovic Committed by Gerrit Code Review
Browse files

telephony: Add oldril feature setPrefNwTypeOnUnsolConnected.

  Commit 3feff873 removed
  the set nw mode on unsolicited connect which is causing
  data connection failures on certain devices.

Change-Id: I641841ba170a98f595e25516d01c0ff86ba17ff0
parent 4131a3b7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3444,6 +3444,9 @@ public class RIL extends BaseCommands implements CommandsInterface {

                // Initial conditions
                setRadioPower(false, null);
                if (needsOldRilFeature("setPrefNwTypeOnUnsolConnected")) {
                    setPreferredNetworkType(mPreferredNetworkType, null);
                }
                setCdmaSubscriptionSource(mCdmaSubscription, null);
                setCellInfoListRate(Integer.MAX_VALUE, null);
                notifyRegistrantsRilConnectionChanged(((int[])ret)[0]);