From 5982bf66d4fdea38105d91ff0f9d38660ac87581 Mon Sep 17 00:00:00 2001 From: Mike Lockwood Date: Thu, 17 Mar 2011 14:08:01 -0400 Subject: [PATCH] GPS: Restore XTRA downloading at boot. Between Froyo and Gingerbread we disabled scheduling an XTRA data download at boot because the Qualcomm engineers thought it should not be necessary. However, some users noticed a GPS performance degradation after receiving their Gingerbread update, and some reported forcing an XTRA download cleared up the problem. This change restores the Froyo behavior of downloading XTRA data after boot. Bug: 3509901 Change-Id: I5a52201a2b24ce4a5d3ddb1f86340e3d5387f603 Signed-off-by: Mike Lockwood --- .../java/com/android/server/location/GpsLocationProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/java/com/android/server/location/GpsLocationProvider.java b/services/java/com/android/server/location/GpsLocationProvider.java index 356186279fd7a..63ce0bd25057c 100755 --- a/services/java/com/android/server/location/GpsLocationProvider.java +++ b/services/java/com/android/server/location/GpsLocationProvider.java @@ -203,7 +203,7 @@ public class GpsLocationProvider implements LocationProviderInterface { // flags to trigger NTP or XTRA data download when network becomes available // initialized to true so we do NTP and XTRA when the network comes up after booting private boolean mInjectNtpTimePending = true; - private boolean mDownloadXtraDataPending = false; + private boolean mDownloadXtraDataPending = true; // true if GPS is navigating private boolean mNavigating;