* commit '8a33803df5477bb9bd20bfae8c7a7d0833f6d2a9': Increase PDU parts buffer size for performance reasons
This commit is contained in:
committed by
Android Git Automerger
commit
50ff08a24e
@@ -765,7 +765,7 @@ public class PduPersister {
|
||||
Log.v(TAG, "Saving data to: " + uri);
|
||||
}
|
||||
|
||||
byte[] buffer = new byte[256];
|
||||
byte[] buffer = new byte[8192];
|
||||
for (int len = 0; (len = is.read(buffer)) != -1; ) {
|
||||
os.write(buffer, 0, len);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user