AAPT needs a buffer larger than 1 MB on the host to decode resources.arsc from SDK/android.jar.

This leaves the asset unzip buffer to 1 MB on the device and 2 MB on the host.
This commit is contained in:
ralf 2009-02-05 11:58:27 -08:00 committed by Alex Ray
parent 7976caad7d
commit 13e4bed7db
1 changed files with 4 additions and 0 deletions

View File

@ -62,7 +62,11 @@ public:
enum {
/* data larger than this does not get uncompressed into a buffer */
#ifdef HAVE_ANDROID_OS
UNCOMPRESS_DATA_MAX = 1 * 1024 * 1024
#else
UNCOMPRESS_DATA_MAX = 2 * 1024 * 1024
#endif
};
/*