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

Commit 019581bf authored by Cheng Yang's avatar Cheng Yang Committed by Wink Saville
Browse files

Update name getCdmaMIN to getCdmaMin

1. update name getCdmaMIN to getCdmaMin
2. update DEFAULT_ECM_EXIT_TIMER_VALUE from 30000 to 300000
parent 9ba6998b
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -67,7 +67,7 @@ public class CDMAPhone extends PhoneBase {
    private static final boolean LOCAL_DEBUG = true;
    private static final boolean LOCAL_DEBUG = true;


    // Default Emergency Callback Mode exit timer
    // Default Emergency Callback Mode exit timer
    private static final int DEFAULT_ECM_EXIT_TIMER_VALUE = 30000;
    private static final int DEFAULT_ECM_EXIT_TIMER_VALUE = 300000;
    static final String VM_COUNT_CDMA = "vm_count_key_cdma";
    static final String VM_COUNT_CDMA = "vm_count_key_cdma";
    private static final String VM_NUMBER_CDMA = "vm_number_key_cdma";
    private static final String VM_NUMBER_CDMA = "vm_number_key_cdma";
    private String mVmNumber = null;
    private String mVmNumber = null;
@@ -395,7 +395,7 @@ public class CDMAPhone extends PhoneBase {
        return mSST.getPrlVersion();
        return mSST.getPrlVersion();
    }
    }


    public String getCdmaMIN() {
    public String getCdmaMin() {
        return mSST.getCdmaMin();
        return mSST.getCdmaMin();
    }
    }


@@ -429,8 +429,8 @@ public class CDMAPhone extends PhoneBase {
    public String getSubscriberId() {
    public String getSubscriberId() {
        // Subscriber ID is the combination of MCC+MNC+MIN as CDMA IMSI
        // Subscriber ID is the combination of MCC+MNC+MIN as CDMA IMSI
        // TODO(Moto): Replace with call to mRuimRecords.getIMSI_M() when implemented.
        // TODO(Moto): Replace with call to mRuimRecords.getIMSI_M() when implemented.
        if ((getServiceState().getOperatorNumeric() != null) && (getCdmaMIN() != null)) {
        if ((getServiceState().getOperatorNumeric() != null) && (getCdmaMin() != null)) {
            return (getServiceState().getOperatorNumeric() + getCdmaMIN());
            return (getServiceState().getOperatorNumeric() + getCdmaMin());
        } else {
        } else {
            return null;
            return null;
        }
        }