summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Knight <starlightknight@slkdev.net>2016-10-12 14:31:22 (GMT)
committerAaron Knight <starlightknight@slkdev.net>2016-10-12 14:31:22 (GMT)
commitf748cc025a317fad5a5724ed5a358c1cbdcf1968 (patch)
treeb5c36cf640373a493ea9224515c61973cbf18203
parent8db8e872e35c792d7228a6e812fec7e68c16cab0 (diff)
downloaddevice_samsung_smdk4412-qcom-common-f748cc025a317fad5a5724ed5a358c1cbdcf1968.zip
device_samsung_smdk4412-qcom-common-f748cc025a317fad5a5724ed5a358c1cbdcf1968.tar.gz
device_samsung_smdk4412-qcom-common-f748cc025a317fad5a5724ed5a358c1cbdcf1968.tar.bz2
smdk4412-qcom-common: Apply Emergency Call Fix
Kang emergency call fix that is being applied to the other RILs Change-Id: Ief6e93b86ace1d6320ded17e51c95c1ae0c47afc
-rw-r--r--ril/telephony/java/com/android/internal/telephony/smdk4x12QComRIL.java20
1 files changed, 0 insertions, 20 deletions
diff --git a/ril/telephony/java/com/android/internal/telephony/smdk4x12QComRIL.java b/ril/telephony/java/com/android/internal/telephony/smdk4x12QComRIL.java
index 1f22fcd..8d4d978 100644
--- a/ril/telephony/java/com/android/internal/telephony/smdk4x12QComRIL.java
+++ b/ril/telephony/java/com/android/internal/telephony/smdk4x12QComRIL.java
@@ -66,7 +66,6 @@ public class smdk4x12QComRIL extends RIL implements CommandsInterface {
private Object mSMSLock = new Object();
private boolean mIsSendingSMS = false;
protected boolean isGSM = false;
- private static final int RIL_REQUEST_DIAL_EMERGENCY = 10001;
public static final long SEND_SMS_TIMEOUT_IN_MS = 30000;
public smdk4x12QComRIL(Context context, int networkModes, int cdmaSubscription) {
@@ -562,10 +561,6 @@ public class smdk4x12QComRIL extends RIL implements CommandsInterface {
@Override
public void
dial(String address, int clirMode, UUSInfo uusInfo, Message result) {
- if (PhoneNumberUtils.isEmergencyNumber(address)) {
- dialEmergencyCall(address, clirMode, result);
- return;
- }
RILRequest rr = RILRequest.obtain(RIL_REQUEST_DIAL, result);
rr.mParcel.writeString(address);
@@ -634,21 +629,6 @@ public class smdk4x12QComRIL extends RIL implements CommandsInterface {
}
}
- private void
- dialEmergencyCall(String address, int clirMode, Message result) {
- RILRequest rr;
- Rlog.v(RILJ_LOG_TAG, "Emergency dial: " + address);
-
- rr = RILRequest.obtain(RIL_REQUEST_DIAL_EMERGENCY, result);
- rr.mParcel.writeString(address + "/");
- rr.mParcel.writeInt(clirMode);
- rr.mParcel.writeInt(0); // UUS information is absent
-
- if (RILJ_LOGD) riljLog(rr.serialString() + "> " + requestToString(rr.mRequest));
-
- send(rr);
- }
-
// This call causes ril to crash the socket, stopping further communication
@Override
public void