diff options
author | Shishir Agrawal <shishir@google.com> | 2015-09-18 01:49:58 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-09-18 01:49:58 +0000 |
commit | 896f738cdddec8cfda82b177e3a60c5a85004229 (patch) | |
tree | 6df43afe5053ca7df6d34a026f231ba09550f55c /telephony/java/android | |
parent | 58e378b02561d8f606066537b193b0eb62e2404f (diff) | |
parent | e25bd01ad662d1a5b19592c98fac0a3035081375 (diff) | |
download | frameworks_base-896f738cdddec8cfda82b177e3a60c5a85004229.zip frameworks_base-896f738cdddec8cfda82b177e3a60c5a85004229.tar.gz frameworks_base-896f738cdddec8cfda82b177e3a60c5a85004229.tar.bz2 |
Merge "Allow non-persistent manual network selection." into mnc-dr-dev
Diffstat (limited to 'telephony/java/android')
-rw-r--r-- | telephony/java/android/telephony/TelephonyManager.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index eca0cc0..47f13c9 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -3571,11 +3571,12 @@ public class TelephonyManager { * * @hide */ - public boolean setNetworkSelectionModeManual(int subId, OperatorInfo operator) { + public boolean setNetworkSelectionModeManual(int subId, OperatorInfo operator, + boolean persistSelection) { try { ITelephony telephony = getITelephony(); if (telephony != null) - return telephony.setNetworkSelectionModeManual(subId, operator); + return telephony.setNetworkSelectionModeManual(subId, operator, persistSelection); } catch (RemoteException ex) { Rlog.e(TAG, "setNetworkSelectionModeManual RemoteException", ex); } catch (NullPointerException ex) { |