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

Commit 22c1f9ac authored by Po-Chien Hsueh's avatar Po-Chien Hsueh Committed by PO HUNG CHEN
Browse files

Reduce parcel size to avoid binder transaction failure

Reduce buffer size to 8192 to avoid binder transaction failures.
According to our previous tests. Reducing the buffer size to 8K
doesn't show negative impact on performance.

Bug: 132923636
Test: Successfully install a DSU
Change-Id: Ibe51ab748b4f6c1d3c3ac8286519380ea8afc184
parent 7687aaac
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ class InstallationAsyncTask extends AsyncTask<String, Long, Throwable> {

    private static final String TAG = "InstallationAsyncTask";

    private static final int READ_BUFFER_SIZE = 1 << 19;
    private static final int READ_BUFFER_SIZE = 1 << 13;

    private class InvalidImageUrlException extends RuntimeException {
        private InvalidImageUrlException(String message) {