diff --git a/core/java/android/database/sqlite/SQLiteDebug.java b/core/java/android/database/sqlite/SQLiteDebug.java index 1afa0f8d70902..b84a8d24d42a3 100644 --- a/core/java/android/database/sqlite/SQLiteDebug.java +++ b/core/java/android/database/sqlite/SQLiteDebug.java @@ -70,7 +70,8 @@ public final class SQLiteDebug { /** * True to enable database performance testing instrumentation. */ - public static final boolean DEBUG_LOG_SLOW_QUERIES = Build.IS_DEBUGGABLE; + public static final boolean DEBUG_LOG_SLOW_QUERIES = + Log.isLoggable("SQLiteSlowQueries", Log.VERBOSE); private static final String SLOW_QUERY_THRESHOLD_PROP = "db.log.slow_query_threshold";