Adding typed Parcel readParcelableList API.
Added typed Parcel readParcelableList API that takes extra clazz parameters check that the class written on the wire is the same, or a descendant from the one provided as the key and value arguments. Doing so could enhance the security of Parcel deserialization, as it would prevent unexpected types of objects being deserialized. More details can be found at go/safer-parcel. Test: atest -d android.os.cts.ParcelTest Bug: 195622897 Change-Id: Ibdb90fa622ef6eaa0bd2b9de629f51fc4fa7091a
Loading
Please register or sign in to comment