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

Commit 5866b978 authored by Mike Lockwood's avatar Mike Lockwood Committed by Android (Google) Code Review
Browse files

Merge "Fix broken location extras in GpsLocationProvider."

parents 3963cca7 63598a06
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -323,6 +323,8 @@ public class GpsLocationProvider implements LocationProviderInterface {
        mLocationManager = locationManager;
        mNIHandler = new GpsNetInitiatedHandler(context, this);

        mLocation.setExtras(mLocationExtras);

        // Create a wake lock
        PowerManager powerManager = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE);
        mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKELOCK_KEY);