diff options
-rw-r--r-- | ril/telephony/java/com/android/internal/telephony/SamsungExynos4RIL.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ril/telephony/java/com/android/internal/telephony/SamsungExynos4RIL.java b/ril/telephony/java/com/android/internal/telephony/SamsungExynos4RIL.java index 2b6fcc3..8aaca62 100644 --- a/ril/telephony/java/com/android/internal/telephony/SamsungExynos4RIL.java +++ b/ril/telephony/java/com/android/internal/telephony/SamsungExynos4RIL.java @@ -131,6 +131,15 @@ public class SamsungExynos4RIL extends RIL implements CommandsInterface { } } + static String + responseToString(int response) { + switch (response) { + case RIL_UNSOL_STK_SEND_SMS_RESULT: return "RIL_UNSOL_STK_SEND_SMS_RESULT"; + default: return RIL.responseToString(response); + } + } + + @Override protected RILRequest processSolicited (Parcel p) { int serial, error; @@ -444,6 +453,7 @@ public class SamsungExynos4RIL extends RIL implements CommandsInterface { try{switch(response) { case RIL_UNSOL_STK_PROACTIVE_COMMAND: ret = responseString(p); break; + case RIL_UNSOL_STK_SEND_SMS_RESULT: ret = responseInts(p); break; // Samsung STK default: // Rewind the Parcel p.setDataPosition(dataPosition); @@ -471,6 +481,14 @@ public class SamsungExynos4RIL extends RIL implements CommandsInterface { mCatProCmdBuffer = ret; } break; + case RIL_UNSOL_STK_SEND_SMS_RESULT: + if (RILJ_LOGD) unsljLogRet(response, ret); + + if (mCatSendSmsResultRegistrant != null) { + mCatSendSmsResultRegistrant.notifyRegistrant( + new AsyncResult (null, ret, null)); + } + break; } } |