Update gps status icon to be a "high power" location icon.
Move icon to right side of the screen and synchronize status with AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION. Change-Id: Iea2570501cb18be0489669fd4ea240dc63f9567a
This commit is contained in:
@@ -177,6 +177,17 @@ public class LocationManager {
|
||||
*/
|
||||
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
|
||||
* active location requests should be read from AppOpsManager using
|
||||
* {@code OP_MONITOR_HIGH_POWER_LOCATION}.
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
public static final String HIGH_POWER_REQUEST_CHANGE_ACTION =
|
||||
"android.location.HIGH_POWER_REQUEST_CHANGE";
|
||||
|
||||
// Map from LocationListeners to their associated ListenerTransport objects
|
||||
private HashMap<LocationListener,ListenerTransport> mListeners =
|
||||
new HashMap<LocationListener,ListenerTransport>();
|
||||
|
||||
Reference in New Issue
Block a user