summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Gernoth <michael@gernoth.net>2015-12-16 17:01:43 (GMT)
committerBrett Rogers <brettrogers11@gmail.com>2016-01-03 08:59:30 (GMT)
commitd62989f8f13fd9f5abcfff54228d3078ed27ec91 (patch)
treefff83f45a19ce76aa9d97ae2a3fc75a4462aeba9
parent0472409252989fd2c9834fe06c50dea35b185c93 (diff)
downloaddevice_samsung_smdk4412-qcom-common-d62989f8f13fd9f5abcfff54228d3078ed27ec91.zip
device_samsung_smdk4412-qcom-common-d62989f8f13fd9f5abcfff54228d3078ed27ec91.tar.gz
device_samsung_smdk4412-qcom-common-d62989f8f13fd9f5abcfff54228d3078ed27ec91.tar.bz2
ril: Return static radio capability from getRadioCapability
Change-Id: I6f4f003d3b050e955af5abf2cce10b577902a363
-rw-r--r--ril/telephony/java/com/android/internal/telephony/smdk4x12QComRIL.java10
1 files changed, 10 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 7141e98..cafcb4c 100644
--- a/ril/telephony/java/com/android/internal/telephony/smdk4x12QComRIL.java
+++ b/ril/telephony/java/com/android/internal/telephony/smdk4x12QComRIL.java
@@ -653,4 +653,14 @@ public class smdk4x12QComRIL extends RIL implements CommandsInterface {
result.sendToTarget();
}
}
+
+ @Override
+ public void getRadioCapability(Message response) {
+ riljLog("getRadioCapability: returning static radio capability");
+ if (response != null) {
+ Object ret = makeStaticRadioCapability();
+ AsyncResult.forMessage(response, ret, null);
+ response.sendToTarget();
+ }
+ }
}