summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Shields <keepcalm444@gmail.com>2015-12-07 16:40:01 +1100
committerSimon Shields <keepcalm444@gmail.com>2015-12-07 20:51:40 +1100
commitcc743cfa932a86fc4cd84b4e25b8a75750128074 (patch)
treefd0548c50c14541616104f804c0f260bd50a3373
parentab9484acd570fe3954eec3c0b97235f1aec78ace (diff)
downloaddevice_samsung_i9300-cc743cfa932a86fc4cd84b4e25b8a75750128074.zip
device_samsung_i9300-cc743cfa932a86fc4cd84b4e25b8a75750128074.tar.gz
device_samsung_i9300-cc743cfa932a86fc4cd84b4e25b8a75750128074.tar.bz2
i9300: use responseFailCause on REQUEST_LAST_CALL_FAIL_CAUSE
fixes phone crashes when the call is disconnected from the other end Change-Id: If6211af2d62ce9a6ee6879b67ae473b9fb9083d2
-rw-r--r--ril/telephony/java/com/android/internal/telephony/SamsungExynos4RIL.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/ril/telephony/java/com/android/internal/telephony/SamsungExynos4RIL.java b/ril/telephony/java/com/android/internal/telephony/SamsungExynos4RIL.java
index c947908..9571aaa 100644
--- a/ril/telephony/java/com/android/internal/telephony/SamsungExynos4RIL.java
+++ b/ril/telephony/java/com/android/internal/telephony/SamsungExynos4RIL.java
@@ -186,7 +186,7 @@ public class SamsungExynos4RIL extends RIL implements CommandsInterface {
case RIL_REQUEST_SWITCH_WAITING_OR_HOLDING_AND_ACTIVE: ret = responseVoid(p); break;
case RIL_REQUEST_CONFERENCE: ret = responseVoid(p); break;
case RIL_REQUEST_UDUB: ret = responseVoid(p); break;
- case RIL_REQUEST_LAST_CALL_FAIL_CAUSE: ret = responseInts(p); break;
+ case RIL_REQUEST_LAST_CALL_FAIL_CAUSE: ret = responseFailCause(p); break;
case RIL_REQUEST_SIGNAL_STRENGTH: ret = responseSignalStrength(p); break;
case RIL_REQUEST_VOICE_REGISTRATION_STATE: ret = responseStrings(p); break;
case RIL_REQUEST_DATA_REGISTRATION_STATE: ret = responseStrings(p); break;