Merge "Connect IRadioConfig 1.1 HAL interfaces with RadioConfig.java"

This commit is contained in:
Xiangyu/Malcolm Chen
2019-01-22 03:16:28 +00:00
committed by Gerrit Code Review
2 changed files with 6 additions and 0 deletions

View File

@@ -32,6 +32,11 @@ public class ModemInfo implements Parcelable {
public final boolean isVoiceSupported;
public final boolean isDataSupported;
// TODO b/121394331: Clean up this class after V1_1.PhoneCapability cleanup.
public ModemInfo(int modemId) {
this(modemId, 0, true, true);
}
public ModemInfo(int modemId, int rat, boolean isVoiceSupported, boolean isDataSupported) {
this.modemId = modemId;
this.rat = rat;

View File

@@ -422,6 +422,7 @@ public interface RILConstants {
int RIL_REQUEST_SET_LINK_CAPACITY_REPORTING_CRITERIA = 203;
int RIL_REQUEST_SET_PREFERRED_DATA_MODEM = 204;
int RIL_REQUEST_EMERGENCY_DIAL = 205;
int RIL_REQUEST_GET_PHONE_CAPABILITY = 206;
/* Responses begin */
int RIL_RESPONSE_ACKNOWLEDGEMENT = 800;