Merge "Replace heavy isLoggable call" into sc-dev

This commit is contained in:
Jeff Sharkey
2021-06-03 20:29:20 +00:00
committed by Android (Google) Code Review

View File

@@ -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 {