From d08180c49f0244f1979219c581683ca7ada0ac06 Mon Sep 17 00:00:00 2001 From: Soonil Nagarkar Date: Mon, 4 Mar 2019 18:54:36 -0800 Subject: Remove unused broadcasts from GNSS Test: manual Change-Id: Iad78fac0071a443d75cfc1d57b25017db7f84de3 --- .../java/android/location/LocationManager.java | 31 ---------------------- 1 file changed, 31 deletions(-) (limited to 'location/java/android') diff --git a/location/java/android/location/LocationManager.java b/location/java/android/location/LocationManager.java index 6828c597fe9a..bbc63e1d93f0 100644 --- a/location/java/android/location/LocationManager.java +++ b/location/java/android/location/LocationManager.java @@ -169,17 +169,6 @@ public class LocationManager { */ public static final String KEY_LOCATION_CHANGED = "location"; - /** - * Broadcast intent action indicating that the GPS has either been - * enabled or disabled. An intent extra provides this state as a boolean, - * where {@code true} means enabled. - * @see #EXTRA_GPS_ENABLED - * - * @hide - */ - public static final String GPS_ENABLED_CHANGE_ACTION = - "android.location.GPS_ENABLED_CHANGE"; - /** * Broadcast intent action when the set of enabled location providers changes. To check the * status of a provider, use {@link #isProviderEnabled(String)}. @@ -205,26 +194,6 @@ public class LocationManager { @Deprecated public static final String MODE_CHANGING_ACTION = "com.android.settings.location.MODE_CHANGING"; - /** - * Broadcast intent action indicating that the GPS has either started or - * stopped receiving GPS fixes. An intent extra provides this state as a - * boolean, where {@code true} means that the GPS is actively receiving fixes. - * @see #EXTRA_GPS_ENABLED - * - * @hide - */ - public static final String GPS_FIX_CHANGE_ACTION = - "android.location.GPS_FIX_CHANGE"; - - /** - * The lookup key for a boolean that indicates whether GPS is enabled or - * disabled. {@code true} means GPS is enabled. Retrieve it with - * {@link android.content.Intent#getBooleanExtra(String,boolean)}. - * - * @hide - */ - public static final String EXTRA_GPS_ENABLED = "enabled"; - /** * Broadcast intent action indicating that a high power location requests * has either started or stopped being active. The current state of -- cgit v1.2.3-59-g8ed1b