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
This commit is contained in:
committed by
PO HUNG CHEN
parent
7687aaac1d
commit
22c1f9ac9f
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user