Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 914a32b8 authored by ralf's avatar ralf
Browse files

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.
parent d816d082
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -62,7 +62,11 @@ public:


    enum {
    enum {
        /* data larger than this does not get uncompressed into a buffer */
        /* data larger than this does not get uncompressed into a buffer */
#ifdef HAVE_ANDROID_OS
        UNCOMPRESS_DATA_MAX = 1 * 1024 * 1024
        UNCOMPRESS_DATA_MAX = 1 * 1024 * 1024
#else
        UNCOMPRESS_DATA_MAX = 2 * 1024 * 1024
#endif
    };
    };


    /*
    /*