reduce cursor size back to 4m; now that the cause is fixed

This commit is contained in:
Daniel Gultsch 2019-12-04 20:46:22 +01:00
parent cc79d8f6b3
commit 8a5d658b2a
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ public class CursorUtils {
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.P) {
if (cursor instanceof AbstractWindowedCursor) {
final AbstractWindowedCursor windowedCursor = (AbstractWindowedCursor) cursor;
windowedCursor.setWindow(new CursorWindow("4M", 8 * 1024 * 1024));
windowedCursor.setWindow(new CursorWindow("4M", 4 * 1024 * 1024));
}
if (cursor instanceof SQLiteCursor) {
((SQLiteCursor) cursor).setFillWindowForwardOnly(true);