commit | 03c34f57c05feecfb090de3917787f049cb5f804 | [log] [tgz] |
---|---|---|
author | Hani Kazmi <hanikazmi@google.com> | Tue Jun 07 16:52:57 2022 +0000 |
committer | Hani Kazmi <hanikazmi@google.com> | Thu Jun 30 13:04:11 2022 +0000 |
tree | 1d41d73605a1178830b71a0e87b23802fe06eab1 | |
parent | 362e1c6eb4d5c8246f2c356d1425f31d47f96d2d [diff] |
Parcel.java: Fix bug where non-nested creators threw NullPointer Upon deserialization, various APIs would check that the passed in class was assignable from the creator's enclosing class - which was assumed to always be the Parcelable type. This assumption is not always true, so updating the check to explicitely store the parcelable type Fix: 232589966 Test: m && atest ParcelTest && atest BundleTest Change-Id: I59b650a854944e9020615a65798c5e54f5540aaa