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

Skip to content
Commit ab0fca88 authored by Pinyao Ting's avatar Pinyao Ting
Browse files

Various Fixes in RemoteViews.DrawInstructions

1. NPE in RemoteViews when instantiated from DrawInstructions
RemoteViews instantiated from DrawInstruction currently doesn't require
application info, this CL adds a null check before parcel/unparcel the
applicaiton field in the RemoteViews to prevent NPE.

2. TTL Exception when passing DrawInstructions between processes
DrawInstructions may contain bytearray that exceeds the size limit in
Binder transaction which leads to transaction too large exception. This
CL instead read/write the bytearray to/from parcel as blobs.

Bug: 286130467
Test: atest RemoteViewsTest
Change-Id: I679f985dbedb8d1ad770bb04e080a7ab49d89531
parent 02637322
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