summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorljzyal <ljzyal@gmail.com>2015-07-11 01:37:13 (GMT)
committerGerrit Code Review <gerrit@cyanogenmod.org>2015-11-18 16:35:21 (GMT)
commit47efff9a700f292228ad876a6100966bb6d901e7 (patch)
tree78604cbe4134288d34c14a870a748b88f4269f5c
parentb8fd12cf901ae047e4b0e5cb6a32482ffca571e3 (diff)
downloaddevice_samsung_smdk4412-qcom-common-47efff9a700f292228ad876a6100966bb6d901e7.zip
device_samsung_smdk4412-qcom-common-47efff9a700f292228ad876a6100966bb6d901e7.tar.gz
device_samsung_smdk4412-qcom-common-47efff9a700f292228ad876a6100966bb6d901e7.tar.bz2
RIL: add acceptCall method
Change-Id: I7951fc83387bc21ff67f28c891c1fc10671eea43
-rw-r--r--ril/telephony/java/com/android/internal/telephony/smdk4x12QComRIL.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/ril/telephony/java/com/android/internal/telephony/smdk4x12QComRIL.java b/ril/telephony/java/com/android/internal/telephony/smdk4x12QComRIL.java
index 0da78b5..48fb0d3 100644
--- a/ril/telephony/java/com/android/internal/telephony/smdk4x12QComRIL.java
+++ b/ril/telephony/java/com/android/internal/telephony/smdk4x12QComRIL.java
@@ -337,6 +337,10 @@ public class smdk4x12QComRIL extends RIL implements CommandsInterface {
ret = responseInts(p);
setWbAmr(((int[])ret)[0]);
break;
+ case 11055: // RIL_UNSOL_ON_SS:
+ p.setDataPosition(dataPosition);
+ p.writeInt(RIL_UNSOL_ON_SS);
+ // Do not break
default:
// Rewind the Parcel
p.setDataPosition(dataPosition);
@@ -349,6 +353,19 @@ public class smdk4x12QComRIL extends RIL implements CommandsInterface {
}
@Override
+ public void
+ acceptCall (Message result) {
+ RILRequest rr = RILRequest.obtain(RIL_REQUEST_ANSWER, result);
+
+ rr.mParcel.writeInt(1);
+ rr.mParcel.writeInt(0);
+
+ if (RILJ_LOGD) riljLog(rr.serialString() + "> " + requestToString(rr.mRequest));
+
+ send(rr);
+ }
+
+ @Override
protected RILRequest
processSolicited (Parcel p) {
int serial, error;