Loading telephony/java/android/telephony/TelephonyManager.java +3 −7 Original line number Diff line number Diff line Loading @@ -1016,10 +1016,6 @@ public class TelephonyManager { private static final String sLteOnCdmaProductType = SystemProperties.get(TelephonyProperties.PROPERTY_LTE_ON_CDMA_PRODUCT_TYPE, ""); /** @hide */ public static int getLteOnCdmaModeStatic() { return getLteOnCdmaModeStatic(getDefaultSim()); } /** * Return if the current radio is LTE on CDMA. This Loading @@ -1031,12 +1027,12 @@ public class TelephonyManager { * * @hide */ public static int getLteOnCdmaModeStatic(int slotId) { public static int getLteOnCdmaModeStatic() { int retVal; int curVal; String productType = ""; curVal = getTelephonyProperty(TelephonyProperties.PROPERTY_LTE_ON_CDMA_DEVICE, slotId, curVal = SystemProperties.getInt(TelephonyProperties.PROPERTY_LTE_ON_CDMA_DEVICE, PhoneConstants.LTE_ON_CDMA_UNKNOWN); retVal = curVal; if (retVal == PhoneConstants.LTE_ON_CDMA_UNKNOWN) { Loading Loading
telephony/java/android/telephony/TelephonyManager.java +3 −7 Original line number Diff line number Diff line Loading @@ -1016,10 +1016,6 @@ public class TelephonyManager { private static final String sLteOnCdmaProductType = SystemProperties.get(TelephonyProperties.PROPERTY_LTE_ON_CDMA_PRODUCT_TYPE, ""); /** @hide */ public static int getLteOnCdmaModeStatic() { return getLteOnCdmaModeStatic(getDefaultSim()); } /** * Return if the current radio is LTE on CDMA. This Loading @@ -1031,12 +1027,12 @@ public class TelephonyManager { * * @hide */ public static int getLteOnCdmaModeStatic(int slotId) { public static int getLteOnCdmaModeStatic() { int retVal; int curVal; String productType = ""; curVal = getTelephonyProperty(TelephonyProperties.PROPERTY_LTE_ON_CDMA_DEVICE, slotId, curVal = SystemProperties.getInt(TelephonyProperties.PROPERTY_LTE_ON_CDMA_DEVICE, PhoneConstants.LTE_ON_CDMA_UNKNOWN); retVal = curVal; if (retVal == PhoneConstants.LTE_ON_CDMA_UNKNOWN) { Loading