Caused by: java.lang.IllegalStateException: Process 9461 exceeded cursor quota 100, will kill it

cursor 未关闭


Cursor cursor = ...;
try {
    if (cursor.moveToFirst())
        return xxx;
    else
        return null;
} finally {
    cursor.close();
}


你可能感兴趣的:(Caused by: java.lang.IllegalStateException: Process 9461 exceeded cursor quota 100, will kill it)