Loading api/system-current.txt +1 −1 Original line number Diff line number Diff line Loading @@ -4136,7 +4136,7 @@ package android.location { method public boolean isComplete(); method public void makeComplete(); method public void setIsFromMockProvider(boolean); field public static final String EXTRA_NO_GPS_LOCATION = "noGPSLocation"; field @Deprecated public static final String EXTRA_NO_GPS_LOCATION = "noGPSLocation"; } public class LocationManager { Loading api/test-current.txt +1 −1 Original line number Diff line number Diff line Loading @@ -1338,7 +1338,7 @@ package android.location { public class Location implements android.os.Parcelable { method public void makeComplete(); field public static final String EXTRA_NO_GPS_LOCATION = "noGPSLocation"; field @Deprecated public static final String EXTRA_NO_GPS_LOCATION = "noGPSLocation"; } public class LocationManager { Loading core/java/android/provider/Settings.java +11 −0 Original line number Diff line number Diff line Loading @@ -6257,16 +6257,19 @@ public final class Settings { * @hide */ public static final String LOCATION_CHANGER = "location_changer"; /** * The location changer is unknown or unable to detect. * @hide */ public static final int LOCATION_CHANGER_UNKNOWN = 0; /** * Location settings in system settings. * @hide */ public static final int LOCATION_CHANGER_SYSTEM_SETTINGS = 1; /** * The location icon in drop down notification drawer. * @hide Loading Loading @@ -6313,6 +6316,14 @@ public final class Settings { @SystemApi public static final int LOCATION_MODE_ON = LOCATION_MODE_HIGH_ACCURACY; /** * The accuracy in meters used for coarsening location for clients with only the coarse * location permission. * * @hide */ public static final String LOCATION_COARSE_ACCURACY_M = "locationCoarseAccuracy"; /** * A flag containing settings used for biometric weak * @hide Loading location/java/android/location/ILocationManager.aidl +1 −1 Original line number Diff line number Diff line Loading @@ -93,7 +93,7 @@ interface ILocationManager boolean startGnssBatch(long periodNanos, boolean wakeOnFifoFull, String packageName); void flushGnssBatch(String packageName); boolean stopGnssBatch(); boolean injectLocation(in Location location); void injectLocation(in Location location); @UnsupportedAppUsage List<String> getAllProviders(); Loading location/java/android/location/Location.java +4 −9 Original line number Diff line number Diff line Loading @@ -63,24 +63,19 @@ public class Location implements Parcelable { */ public static final int FORMAT_SECONDS = 2; /** * Bundle key for a version of the location that has been fed through * LocationFudger. Allows location providers to flag locations as being * safe for use with ACCESS_COARSE_LOCATION permission. * * @hide */ public static final String EXTRA_COARSE_LOCATION = "coarseLocation"; /** * Bundle key for a version of the location containing no GPS data. * Allows location providers to flag locations as being safe to * feed to LocationFudger. * * @hide * @deprecated As of Android R, this extra is longer in use, since it is not necessary to keep * gps locations separate from other locations for coarsening. Providers that do not need to * support platforms below Android R should not use this constant. */ @TestApi @SystemApi @Deprecated public static final String EXTRA_NO_GPS_LOCATION = "noGPSLocation"; /** Loading Loading
api/system-current.txt +1 −1 Original line number Diff line number Diff line Loading @@ -4136,7 +4136,7 @@ package android.location { method public boolean isComplete(); method public void makeComplete(); method public void setIsFromMockProvider(boolean); field public static final String EXTRA_NO_GPS_LOCATION = "noGPSLocation"; field @Deprecated public static final String EXTRA_NO_GPS_LOCATION = "noGPSLocation"; } public class LocationManager { Loading
api/test-current.txt +1 −1 Original line number Diff line number Diff line Loading @@ -1338,7 +1338,7 @@ package android.location { public class Location implements android.os.Parcelable { method public void makeComplete(); field public static final String EXTRA_NO_GPS_LOCATION = "noGPSLocation"; field @Deprecated public static final String EXTRA_NO_GPS_LOCATION = "noGPSLocation"; } public class LocationManager { Loading
core/java/android/provider/Settings.java +11 −0 Original line number Diff line number Diff line Loading @@ -6257,16 +6257,19 @@ public final class Settings { * @hide */ public static final String LOCATION_CHANGER = "location_changer"; /** * The location changer is unknown or unable to detect. * @hide */ public static final int LOCATION_CHANGER_UNKNOWN = 0; /** * Location settings in system settings. * @hide */ public static final int LOCATION_CHANGER_SYSTEM_SETTINGS = 1; /** * The location icon in drop down notification drawer. * @hide Loading Loading @@ -6313,6 +6316,14 @@ public final class Settings { @SystemApi public static final int LOCATION_MODE_ON = LOCATION_MODE_HIGH_ACCURACY; /** * The accuracy in meters used for coarsening location for clients with only the coarse * location permission. * * @hide */ public static final String LOCATION_COARSE_ACCURACY_M = "locationCoarseAccuracy"; /** * A flag containing settings used for biometric weak * @hide Loading
location/java/android/location/ILocationManager.aidl +1 −1 Original line number Diff line number Diff line Loading @@ -93,7 +93,7 @@ interface ILocationManager boolean startGnssBatch(long periodNanos, boolean wakeOnFifoFull, String packageName); void flushGnssBatch(String packageName); boolean stopGnssBatch(); boolean injectLocation(in Location location); void injectLocation(in Location location); @UnsupportedAppUsage List<String> getAllProviders(); Loading
location/java/android/location/Location.java +4 −9 Original line number Diff line number Diff line Loading @@ -63,24 +63,19 @@ public class Location implements Parcelable { */ public static final int FORMAT_SECONDS = 2; /** * Bundle key for a version of the location that has been fed through * LocationFudger. Allows location providers to flag locations as being * safe for use with ACCESS_COARSE_LOCATION permission. * * @hide */ public static final String EXTRA_COARSE_LOCATION = "coarseLocation"; /** * Bundle key for a version of the location containing no GPS data. * Allows location providers to flag locations as being safe to * feed to LocationFudger. * * @hide * @deprecated As of Android R, this extra is longer in use, since it is not necessary to keep * gps locations separate from other locations for coarsening. Providers that do not need to * support platforms below Android R should not use this constant. */ @TestApi @SystemApi @Deprecated public static final String EXTRA_NO_GPS_LOCATION = "noGPSLocation"; /** Loading