We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f6e8022 + 1715cb3 commit 14262d7Copy full SHA for 14262d7
services/java/com/android/server/location/GpsLocationProvider.java
@@ -81,8 +81,8 @@ public class GpsLocationProvider implements LocationProviderInterface {
81
82
private static final String TAG = "GpsLocationProvider";
83
84
- private static final boolean DEBUG = false;
85
- private static final boolean VERBOSE = false;
+ private static final boolean DEBUG = Log.isLoggable(TAG, Log.DEBUG);
+ private static final boolean VERBOSE = Log.isLoggable(TAG, Log.VERBOSE);
86
87
// these need to match GpsPositionMode enum in gps.h
88
private static final int GPS_POSITION_MODE_STANDALONE = 0;
0 commit comments