aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCCD-1997 <dcunha.cyprien@gmail.com>2016-02-12 22:45:24 +0530
committerAndreas Blaesius <skate4life@gmx.de>2016-02-22 22:08:42 +0100
commita6644b5bf42ea05df483344a0ed64562cc1ce3c5 (patch)
tree2b49c049fb87db875949c25d19be066dc08f3ed5
parent00f5286ec0546c2f29f053e7f62c567fdde84acf (diff)
downloaddevice_samsung_espressowifi-a6644b5bf42ea05df483344a0ed64562cc1ce3c5.zip
device_samsung_espressowifi-a6644b5bf42ea05df483344a0ed64562cc1ce3c5.tar.gz
device_samsung_espressowifi-a6644b5bf42ea05df483344a0ed64562cc1ce3c5.tar.bz2
SamsungOmap4RIL: use responseFailCause instead of responseInts for RIL_REQUEST_LAST_CALL_FAIL_CAUSE
Fix 'AndroidRuntime: java.lang.ClassCastException: int[] cannot be cast to com.android.internal.telephony.LastCallFailCause' Change-Id: I209013f3a306640af72e9165a979c71e2feb551b
-rw-r--r--ril/telephony/java/com/android/internal/telephony/SamsungOmap4RIL.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/ril/telephony/java/com/android/internal/telephony/SamsungOmap4RIL.java b/ril/telephony/java/com/android/internal/telephony/SamsungOmap4RIL.java
index 41b44d8..92cfa75 100644
--- a/ril/telephony/java/com/android/internal/telephony/SamsungOmap4RIL.java
+++ b/ril/telephony/java/com/android/internal/telephony/SamsungOmap4RIL.java
@@ -193,7 +193,7 @@ public class SamsungOmap4RIL 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;