OSDN Git Service

Fix build: remove obsolete TODO
authorTom O'Neill <tomo@google.com>
Tue, 20 Aug 2013 18:52:37 +0000 (11:52 -0700)
committerTom O'Neill <tomo@google.com>
Tue, 20 Aug 2013 18:54:02 +0000 (11:54 -0700)
Change-Id: Ie8ef50450a8c415deba9b71607bec89e72db9227

core/java/android/provider/Settings.java

index 8c8e502..fad6c73 100644 (file)
@@ -47,7 +47,6 @@ import android.os.ServiceManager;
 import android.os.SystemProperties;
 import android.os.UserHandle;
 import android.os.Build.VERSION_CODES;
-import android.os.UserManager;
 import android.speech.tts.TextToSpeech;
 import android.text.TextUtils;
 import android.util.AndroidException;
@@ -4440,9 +4439,6 @@ public final class Settings {
          * {@link #LOCATION_MODE_HIGH_ACCURACY}, {@link #LOCATION_MODE_SENSORS_ONLY},
          * {@link #LOCATION_MODE_BATTERY_SAVING}, or {@link #LOCATION_MODE_OFF}.
          *
-         * TODO: should we enforce {@link UserManager#hasUserRestriction(String)} with
-         * {@link UserManager#DISALLOW_SHARE_LOCATION}? None of the other methods in here seem to.
-         *
          * @param cr the content resolver to use
          * @param mode such as {@link #LOCATION_MODE_HIGH_ACCURACY}
          * @param userId the userId for which to change mode