summaryrefslogtreecommitdiffstats
path: root/include/binder
diff options
context:
space:
mode:
authorVasu Nori <vnori@google.com>2010-12-20 14:23:48 -0800
committerVasu Nori <vnori@google.com>2010-12-20 14:23:48 -0800
commit204249bcbe2e45be4a8fc2635a0293d93f7ab67d (patch)
treeb6514877dba7dfbff737216ae02e6ae2335a3585 /include/binder
parent626b3f86fa8adddbf3885ec1dc14bc1f12e05a9f (diff)
downloadframeworks_native-204249bcbe2e45be4a8fc2635a0293d93f7ab67d.zip
frameworks_native-204249bcbe2e45be4a8fc2635a0293d93f7ab67d.tar.gz
frameworks_native-204249bcbe2e45be4a8fc2635a0293d93f7ab67d.tar.bz2
Revert "bug:2448371 cursorwindow size moved to resource xml file."
This reverts commit 2594bae1f551d758c5c88771310d1ee3dc2c71ac.
Diffstat (limited to 'include/binder')
-rw-r--r--include/binder/CursorWindow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/binder/CursorWindow.h b/include/binder/CursorWindow.h
index f0b2909..4fbff2a 100644
--- a/include/binder/CursorWindow.h
+++ b/include/binder/CursorWindow.h
@@ -25,6 +25,7 @@
#include <utils/RefBase.h>
#define DEFAULT_WINDOW_SIZE 4096
+#define MAX_WINDOW_SIZE (1024 * 1024)
#define WINDOW_ALLOCATION_SIZE 4096
#define ROW_SLOT_CHUNK_NUM_ROWS 16