Fix setupDataCall breakage.
Change I1a1adc61 added a new parameter to setupDataCall, but updated the callers incorrectly (specifying the arguments in the wrong order). Fix the order. Change-Id: I0e762de29ac05d387371a7cfe33a33ad16219221
This commit is contained in:
@@ -91,8 +91,8 @@ public interface RILConstants {
|
||||
/* Setup a packet data connection. See ril.h RIL_REQUEST_SETUP_DATA_CALL */
|
||||
int SETUP_DATA_TECH_CDMA = 0;
|
||||
int SETUP_DATA_TECH_GSM = 1;
|
||||
int SETUP_DATA_AUTH_NONE = 0;
|
||||
|
||||
int SETUP_DATA_AUTH_NONE = 0;
|
||||
int SETUP_DATA_AUTH_PAP = 1;
|
||||
int SETUP_DATA_AUTH_CHAP = 2;
|
||||
int SETUP_DATA_AUTH_PAP_CHAP = 3;
|
||||
|
||||
@@ -93,8 +93,8 @@ public class CdmaDataConnection extends DataConnection {
|
||||
Integer.toString(RILConstants.SETUP_DATA_TECH_CDMA),
|
||||
Integer.toString(dataProfile),
|
||||
null, null, null,
|
||||
RILConstants.SETUP_DATA_PROTOCOL_IP,
|
||||
Integer.toString(RILConstants.SETUP_DATA_AUTH_PAP_CHAP), msg);
|
||||
Integer.toString(RILConstants.SETUP_DATA_AUTH_PAP_CHAP),
|
||||
RILConstants.SETUP_DATA_PROTOCOL_IP, msg);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -114,8 +114,8 @@ public class GsmDataConnection extends DataConnection {
|
||||
Integer.toString(RILConstants.SETUP_DATA_TECH_GSM),
|
||||
Integer.toString(RILConstants.DATA_PROFILE_DEFAULT),
|
||||
apn.apn, apn.user, apn.password,
|
||||
RILConstants.SETUP_DATA_PROTOCOL_IP,
|
||||
Integer.toString(authType), msg);
|
||||
Integer.toString(authType),
|
||||
RILConstants.SETUP_DATA_PROTOCOL_IP, msg);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user