Skip to content
Snippets Groups Projects
Commit 874d8163 authored by sandeepbandaru's avatar sandeepbandaru
Browse files

Adding method to check if a Parcel has any Binders marshalled in it.

This is an extension to the existing `hasFileDescriptors` method, both of which are "Active Objects" of a sort and allow writes across processes.
This check would be useful to perform validations on Bundle entries or
any Parcelable type if it only contains non-active objects and can be
essentially treated read only without having to inspect the marshalled
parcel object.

Test: TODO
Bug: 316589195
API-Coverage-Bug: 323147058
Change-Id: I1fd8c8a27e3e7b90df8fefb0fe77bbad908db6b6
parent dc6f83dd
No related branches found
No related tags found
No related merge requests found
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