summaryrefslogtreecommitdiffstats
path: root/telephony
diff options
context:
space:
mode:
authorJunda Liu <junda@google.com>2014-09-05 16:28:40 -0700
committerJunda Liu <junda@google.com>2014-09-05 16:46:38 -0700
commitb8025f32605d6e450d3a64381e6da4aee58e54d7 (patch)
treed1d99a667df25a65121c237e8a931900a9ec51ba /telephony
parent0cd0b186c30f8c98b874d65be265053b44a9684c (diff)
downloadframeworks_base-b8025f32605d6e450d3a64381e6da4aee58e54d7.zip
frameworks_base-b8025f32605d6e450d3a64381e6da4aee58e54d7.tar.gz
frameworks_base-b8025f32605d6e450d3a64381e6da4aee58e54d7.tar.bz2
Hide APIs for simplified network settings.
Bug: b/17255752 Change-Id: Ibbe5d5cdbc2398ba0df2103bd7a33b98dc977734
Diffstat (limited to 'telephony')
-rw-r--r--telephony/java/android/telephony/TelephonyManager.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java
index cdee3de..6930036 100644
--- a/telephony/java/android/telephony/TelephonyManager.java
+++ b/telephony/java/android/telephony/TelephonyManager.java
@@ -3393,6 +3393,7 @@ public class TelephonyManager {
* Or the calling app has carrier privileges. @see #hasCarrierPrivileges
*
* @param enable true means enabling the simplified UI.
+ * @hide
*/
public void enableSimplifiedNetworkSettings(boolean enable) {
enableSimplifiedNetworkSettings(getDefaultSubscription(), enable);
@@ -3408,6 +3409,7 @@ public class TelephonyManager {
*
* @param subId for which the simplified UI should be enabled or disabled.
* @param enable true means enabling the simplified UI.
+ * @hide
*/
public void enableSimplifiedNetworkSettings(long subId, boolean enable) {
try {
@@ -3424,6 +3426,7 @@ public class TelephonyManager {
* {@link android.Manifest.permission#READ_PHONE_STATE READ_PHONE_STATE}
*
* @return true if the simplified UI is enabled.
+ * @hide
*/
public boolean getSimplifiedNetworkSettingsEnabled() {
return getSimplifiedNetworkSettingsEnabled(getDefaultSubscription());
@@ -3437,6 +3440,7 @@ public class TelephonyManager {
*
* @param subId for which the simplified UI should be enabled or disabled.
* @return true if the simplified UI is enabled.
+ * @hide
*/
public boolean getSimplifiedNetworkSettingsEnabled(long subId) {
try {