diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index 841bcd171dc66..319dbd0a2c37b 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -2179,6 +2179,14 @@ public final class Settings { */ public static final String TTY_MODE_ENABLED = "tty_mode_enabled"; + /** + * Flag for allowing service provider to use location information to improve products and + * services. + * Type: int ( 0 = disallow, 1 = allow ) + * @hide + */ + public static final String USE_LOCATION_FOR_SERVICES = "use_location"; + /** * Helper method for determining if a location provider is enabled. * @param cr the content resolver to use @@ -3081,6 +3089,7 @@ public final class Settings { * Flag for allowing service provider to use location information to improve products and * services. * Type: int ( 0 = disallow, 1 = allow ) + * @deprecated */ public static final String USE_LOCATION_FOR_SERVICES = "use_location";