diff options
| author | 2021-06-03 20:29:20 +0000 | |
|---|---|---|
| committer | 2021-06-03 20:29:20 +0000 | |
| commit | 9a86663fea9bf82b22ec5d126805eca78bd155bc (patch) | |
| tree | 2bba9506356e46c73fb7f36d57fa8272244519bf | |
| parent | d55dfa04d596fb8dc71085c937ede610b93c99bc (diff) | |
| parent | 9639ce78ec528bfb8dedf0e2bc3aa032fd0d5bf4 (diff) | |
Merge "Replace heavy isLoggable call" into sc-dev
| -rw-r--r-- | core/java/android/database/sqlite/SQLiteCursor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/database/sqlite/SQLiteCursor.java b/core/java/android/database/sqlite/SQLiteCursor.java index 7ba63e6462f1..fa186c02b368 100644 --- a/core/java/android/database/sqlite/SQLiteCursor.java +++ b/core/java/android/database/sqlite/SQLiteCursor.java @@ -144,7 +144,7 @@ public class SQLiteCursor extends AbstractWindowedCursor { if (mCount == NO_COUNT) { mCount = mQuery.fillWindow(mWindow, requiredPos, requiredPos, true); mCursorWindowCapacity = mWindow.getNumRows(); - if (Log.isLoggable(TAG, Log.DEBUG)) { + if (SQLiteDebug.NoPreloadHolder.DEBUG_SQL_LOG) { Log.d(TAG, "received count(*) from native_fill_window: " + mCount); } } else { |