Loading core/java/android/database/sqlite/SQLiteCursor.java +5 −6 Original line number Diff line number Diff line Loading @@ -131,11 +131,11 @@ public class SQLiteCursor extends AbstractWindowedCursor { // the cursor's state doesn't change while (true) { mLock.lock(); try { if (mCursorState != mThreadState) { mLock.unlock(); break; } try { int count = mQuery.fillWindow(cw, mMaxRead, mCount); // return -1 means not finished if (count != 0) { Loading Loading @@ -217,9 +217,8 @@ public class SQLiteCursor extends AbstractWindowedCursor { mColumnNameMap = null; mQuery = query; try { db.lock(); try { // Setup the list of columns int columnCount = mQuery.columnCountLocked(); mColumns = new String[columnCount]; Loading Loading
core/java/android/database/sqlite/SQLiteCursor.java +5 −6 Original line number Diff line number Diff line Loading @@ -131,11 +131,11 @@ public class SQLiteCursor extends AbstractWindowedCursor { // the cursor's state doesn't change while (true) { mLock.lock(); try { if (mCursorState != mThreadState) { mLock.unlock(); break; } try { int count = mQuery.fillWindow(cw, mMaxRead, mCount); // return -1 means not finished if (count != 0) { Loading Loading @@ -217,9 +217,8 @@ public class SQLiteCursor extends AbstractWindowedCursor { mColumnNameMap = null; mQuery = query; try { db.lock(); try { // Setup the list of columns int columnCount = mQuery.columnCountLocked(); mColumns = new String[columnCount]; Loading