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

Commit 41285a71 authored by Mike Lockwood's avatar Mike Lockwood Committed by Android Git Automerger
Browse files

am 5d12d197: Merge "Report number of satellites used in fix instead of total...

am 5d12d197: Merge "Report number of satellites used in fix instead of total for GPS Location extra" into kraken
parents 23025ffd 5d12d197
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) {