Skip to content

Commit 14262d7

Browse files
Brian MuramatsuAndroid (Google) Code Review
authored andcommitted
Merge "Control GPS logging with property" into jb-mr1-dev
2 parents f6e8022 + 1715cb3 commit 14262d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/java/com/android/server/location/GpsLocationProvider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ public class GpsLocationProvider implements LocationProviderInterface {
8181

8282
private static final String TAG = "GpsLocationProvider";
8383

84-
private static final boolean DEBUG = false;
85-
private static final boolean VERBOSE = false;
84+
private static final boolean DEBUG = Log.isLoggable(TAG, Log.DEBUG);
85+
private static final boolean VERBOSE = Log.isLoggable(TAG, Log.VERBOSE);
8686

8787
// these need to match GpsPositionMode enum in gps.h
8888
private static final int GPS_POSITION_MODE_STANDALONE = 0;

0 commit comments

Comments
 (0)