commit | e1abd97c4dcfe04124aef43e41e52477b2493a64 | [log] [tgz] |
---|---|---|
author | Sumedh Sen <sumedhsen@google.com> | Wed Mar 27 14:43:56 2024 -0700 |
committer | Sumedh Sen <sumedhsen@google.com> | Wed Mar 27 16:08:52 2024 -0700 |
tree | 3ce85ad1fbaaa27b2fcf5acfee045afc63b99cdd | |
parent | 79c910f8ddb2fcdb5187af1be8bb604e75058b0c [diff] |
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