am 8333d591: am 5d5a9db5: Merge "GPS: Enable some more logging" into gingerbread

Merge commit '8333d59133da8e56cfb5465c767e89c61ede28bc'

* commit '8333d59133da8e56cfb5465c767e89c61ede28bc':
  GPS: Enable some more logging
This commit is contained in:
Mike Lockwood
2010-10-19 09:55:45 -07:00
committed by Android Git Automerger
2 changed files with 5 additions and 2 deletions

View File

@@ -1113,7 +1113,7 @@ public class GpsLocationProvider implements LocationProviderInterface {
* called from native code to update our status
*/
private void reportStatus(int status) {
if (VERBOSE) Log.v(TAG, "reportStatus status: " + status);
if (DEBUG) Log.v(TAG, "reportStatus status: " + status);
synchronized(mListeners) {
boolean wasNavigating = mNavigating;
@@ -1250,8 +1250,10 @@ public class GpsLocationProvider implements LocationProviderInterface {
native_agps_data_conn_failed();
}
} else if (result == Phone.APN_REQUEST_STARTED) {
if (DEBUG) Log.d(TAG, "Phone.APN_ALREADYAPN_REQUEST_STARTED_ACTIVE");
// Nothing to do here
} else {
if (DEBUG) Log.d(TAG, "startUsingNetworkFeature failed");
mAGpsDataConnectionState = AGPS_DATA_CONNECTION_CLOSED;
native_agps_data_conn_failed();
}