summaryrefslogtreecommitdiffstats
path: root/telephony/java/com
diff options
context:
space:
mode:
authorShishir Agrawal <shishir@google.com>2015-09-10 14:42:08 -0700
committerShishir Agrawal <shishir@google.com>2015-09-10 14:42:08 -0700
commite25bd01ad662d1a5b19592c98fac0a3035081375 (patch)
treea7df02538a241ba0efd8185f27e10c1ab5b63a2a /telephony/java/com
parent0018323c07d119fde7260d66f60dd9987c7b74ea (diff)
downloadframeworks_base-e25bd01ad662d1a5b19592c98fac0a3035081375.zip
frameworks_base-e25bd01ad662d1a5b19592c98fac0a3035081375.tar.gz
frameworks_base-e25bd01ad662d1a5b19592c98fac0a3035081375.tar.bz2
Allow non-persistent manual network selection.
Allow the API to specify if the selection should be persisted across reboots. This also has the side affect of not notifying the user when signal is lost. Necessary becasue the API might be used transparent to the user and the notifications will be bizarre. Bug: 23971948 Change-Id: Ibb15144fb8a61f63a9c967d875d9ce8c70520ff0
Diffstat (limited to 'telephony/java/com')
-rw-r--r--telephony/java/com/android/internal/telephony/ITelephony.aidl6
1 files changed, 5 insertions, 1 deletions
diff --git a/telephony/java/com/android/internal/telephony/ITelephony.aidl b/telephony/java/com/android/internal/telephony/ITelephony.aidl
index 661f12d..dcece26 100644
--- a/telephony/java/com/android/internal/telephony/ITelephony.aidl
+++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl
@@ -707,9 +707,13 @@ interface ITelephony {
*
* @param subId the id of the subscription.
* @param operatorInfo the operator to attach to.
+ * @param persistSelection should the selection persist till reboot or its
+ * turned off? Will also result in notification being not shown to
+ * the user if the signal is lost.
* @return true if the request suceeded.
*/
- boolean setNetworkSelectionModeManual(int subId, in OperatorInfo operator);
+ boolean setNetworkSelectionModeManual(int subId, in OperatorInfo operator,
+ boolean persistSelection);
/**
* Set the preferred network type.