Merge "Replace heavy isLoggable call" into sc-dev am: 9a86663fea am: 54ef30cce8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14603652 Change-Id: Id1849035810d06fd9324c31f9fb909e139e3b375
This commit is contained in:
@@ -144,7 +144,7 @@ public class SQLiteCursor extends AbstractWindowedCursor {
|
|||||||
if (mCount == NO_COUNT) {
|
if (mCount == NO_COUNT) {
|
||||||
mCount = mQuery.fillWindow(mWindow, requiredPos, requiredPos, true);
|
mCount = mQuery.fillWindow(mWindow, requiredPos, requiredPos, true);
|
||||||
mCursorWindowCapacity = mWindow.getNumRows();
|
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);
|
Log.d(TAG, "received count(*) from native_fill_window: " + mCount);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user