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;
* {@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