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
Loading
Please register or sign in to comment