Migrate unsafer parcel APIs [2]
Manually migrate the few cases of: * readArray() * readParcelableArray() To the new parcel APIs that take the expected type as the last parameter. This enhances security because it prevents unexpected types *before* running unparcelling code. More details at go/safer-parcel. Owners, please check that the type of the objects expected is always a subtype of the type provided as the 3rd parameter. This is usually easy to verify due to casts that happen shortly after. These changes often allowed further transformations but I decided to avoid them to keep this change small and targeted. This was manual since it's tricky to get lint to infer the type in those cases and it was only a few. Bug: 195622897 Test: TH passes Change-Id: I262ed7cd6d3bc15b32e9296e88a8a67fdb59e880
Loading
Please register or sign in to comment