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

Skip to content
Commit e1abd97c authored by Sumedh Sen's avatar Sumedh Sen
Browse files

Transfer large bitmaps as a byte array

Due to limited binder buffer size, transfering Bitmaps via a Parcel as
is may cause TransactionTooLargeException. Thus, convert the Bitmap to a
byte[] and send it via a shared memory region (using writeBlob())

Bug: 322451999
Test: Manual. Set display resolution to the max available value and
install the APK attached in the bug.

Change-Id: I86e42fbd6f30a9f04696037c8e4485bcb5b4acd1
parent 79c910f8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment