NTP-19680 | Cursor size reduced to 5MB (#1036)
This commit is contained in:
@@ -125,7 +125,7 @@ public class MainApplication extends Application implements ReactApplication {
|
||||
try {
|
||||
Field field = CursorWindow.class.getDeclaredField("sCursorWindowSize");
|
||||
field.setAccessible(true);
|
||||
field.set(null, 10 * 1024 * 1024); // 10MB
|
||||
field.set(null, 5 * 1024 * 1024); // 5MB
|
||||
} catch (Exception e) {
|
||||
if (BuildConfig.DEBUG) {
|
||||
e.printStackTrace();
|
||||
|
||||
Reference in New Issue
Block a user