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

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

Merge "Report number of satellites used in fix instead of total for GPS Location extra" into kraken

parents 11c6847d 0881f4f9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1173,7 +1173,8 @@ public class GpsLocationProvider implements LocationProviderInterface {
            }
        }

        updateStatus(mStatus, svCount);
        // return number of sets used in fix instead of total
        updateStatus(mStatus, Integer.bitCount(mSvMasks[USED_FOR_FIX_MASK]));

        if (mNavigating && mStatus == LocationProvider.AVAILABLE && mLastFixTime > 0 &&
            System.currentTimeMillis() - mLastFixTime > RECENT_FIX_TIMEOUT) {