Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5fa15330 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 482 into donut

* changes:
  location: Location Manager wakelock cleanup, phase 2
parents d6f9b9ba 48f17518
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -46,6 +46,9 @@ interface ILocationManager
    boolean addGpsStatusListener(IGpsStatusListener listener);
    void removeGpsStatusListener(IGpsStatusListener listener);

    // for reporting callback completion
    void locationCallbackFinished(ILocationListener listener);

    boolean sendExtraCommand(String provider, String command, inout Bundle extras);

    void addProximityAlert(double latitude, double longitude, float distance,
+5 −0
Original line number Diff line number Diff line
@@ -194,6 +194,11 @@ public class LocationManager {
                    mListener.onProviderDisabled((String) msg.obj);
                    break;
            }
            try {
                mService.locationCallbackFinished(this);
            } catch (RemoteException e) {
                Log.e(TAG, "locationCallbackFinished: RemoteException", e);
            }
        }
    }
    /**
+167 −81

File changed.

Preview size limit exceeded, changes collapsed.