summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author Pinyao Ting <pinyaoting@google.com> 2024-03-05 22:40:59 +0000
committer Pinyao Ting <pinyaoting@google.com> 2024-03-06 02:45:32 +0000
commitab0fca883340dc83235dbf783ccb16f36f3a11a0 (patch)
treea026769c0c6bf14e4725957f6046684f226dbd35 /libs/androidfw/ZipFileRO.cpp
parent02637322207d444d89e6e94a9d653046938dd40a (diff)
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
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions