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
1 file changed