summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Stephanie Bak <dasol@google.com> 2022-04-05 10:13:39 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2022-04-05 10:13:39 +0000
commit73b3dc4fb4b11b6f038fc97ab5e531aecbf3a36f (patch)
tree059432f14e31ad7e2754008a0cdac9990dbaf6e2
parentf5393cec0df3c0b862d40938f55068738e70bfcd (diff)
parent52cf82d495f0be382bd4b1030748de87d4d04067 (diff)
Merge "Expand Javadoc for DISALLOW_WIFI_TETHERING" into tm-dev
-rw-r--r--core/java/android/os/UserManager.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/java/android/os/UserManager.java b/core/java/android/os/UserManager.java
index c4cb3195e485..a64e63eacd56 100644
--- a/core/java/android/os/UserManager.java
+++ b/core/java/android/os/UserManager.java
@@ -300,6 +300,10 @@ public class UserManager {
* When it is set by any of these owners, it prevents all users from using
* Wi-Fi tethering. Other forms of tethering are not affected.
*
+ * This user restriction disables only Wi-Fi tethering.
+ * Use {@link #DISALLOW_CONFIG_TETHERING} to limit all forms of tethering.
+ * When {@link #DISALLOW_CONFIG_TETHERING} is set, this user restriction becomes obsolete.
+ *
* <p>The default value is <code>false</code>.
*
* <p>Key for user restrictions.
@@ -735,7 +739,7 @@ public class UserManager {
public static final String DISALLOW_CONFIG_DATE_TIME = "no_config_date_time";
/**
- * Specifies if a user is disallowed from configuring Tethering and portable hotspots
+ * Specifies if a user is disallowed from using and configuring Tethering and portable hotspots
* via Settings.
*
* <p>This restriction can only be set by a device owner, a profile owner on the primary