-
-
Save invisiblek/9b12e76c2a0f805ad673 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/java/com/android/internal/telephony/RIL.java b/src/java/com/android/internal/telephony/RIL.java | |
index c2dd351..bdcf109 100644 | |
--- a/src/java/com/android/internal/telephony/RIL.java | |
+++ b/src/java/com/android/internal/telephony/RIL.java | |
@@ -4825,6 +4825,16 @@ public class RIL extends BaseCommands implements CommandsInterface { | |
*/ | |
@Override | |
public void setCellInfoListRate(int rateInMillis, Message response) { | |
+ if(mRilVersion < 10) { | |
+ if (response != null) { | |
+ CommandException ex = new CommandException( | |
+ CommandException.Error.REQUEST_NOT_SUPPORTED); | |
+ AsyncResult.forMessage(response, null, ex); | |
+ response.sendToTarget(); | |
+ } | |
+ return; | |
+ } | |
+ | |
if (RILJ_LOGD) riljLog("setCellInfoListRate: " + rateInMillis); | |
RILRequest rr = RILRequest.obtain(RIL_REQUEST_SET_UNSOL_CELL_INFO_LIST_RATE, response); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment