Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f1b6e8e1 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Update UserManager docs for DISALLOW_CONFIG_LOCATION"

parents 71a5de27 dc08e3ae
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -46,6 +46,7 @@ import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.BitmapFactory;
import android.graphics.Rect;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.Drawable;
import android.location.LocationManager;
import android.provider.Settings;
import android.provider.Settings;
import android.telephony.TelephonyManager;
import android.telephony.TelephonyManager;
import android.view.WindowManager.LayoutParams;
import android.view.WindowManager.LayoutParams;
@@ -486,13 +487,13 @@ public class UserManager {
     *
     *
     * <p>This user restriction is different from {@link #DISALLOW_SHARE_LOCATION},
     * <p>This user restriction is different from {@link #DISALLOW_SHARE_LOCATION},
     * as the device owner or profile owner can still enable or disable location mode via
     * as the device owner or profile owner can still enable or disable location mode via
     * {@link DevicePolicyManager#setSecureSetting} when this restriction is on.
     * {@link DevicePolicyManager#setLocationEnabled} when this restriction is on.
     *
     *
     * <p>The default value is <code>false</code>.
     * <p>The default value is <code>false</code>.
     *
     *
     * <p>Key for user restrictions.
     * <p>Key for user restrictions.
     * <p>Type: Boolean
     * <p>Type: Boolean
     * @see android.location.LocationManager#isProviderEnabled(String)
     * @see LocationManager#isLocationEnabled()
     * @see DevicePolicyManager#addUserRestriction(ComponentName, String)
     * @see DevicePolicyManager#addUserRestriction(ComponentName, String)
     * @see DevicePolicyManager#clearUserRestriction(ComponentName, String)
     * @see DevicePolicyManager#clearUserRestriction(ComponentName, String)
     * @see #getUserRestrictions()
     * @see #getUserRestrictions()