Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 369da18f authored by Irfan Sheriff's avatar Irfan Sheriff Committed by Android (Google) Code Review
Browse files

Merge "Handle missing static for CREATOR"

parents 5ae8e45f 97a72f66
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2087,6 +2087,10 @@ public final class Parcel {
                                        + "Parcelable.Creator object called "
                                        + " CREATOR on class " + name);
                }
                catch (NullPointerException e) {
                    throw new BadParcelableException("Parcelable protocol requires "
                            + "the CREATOR object to be static on class " + name);
                }
                if (creator == null) {
                    throw new BadParcelableException("Parcelable protocol requires a "
                                        + "Parcelable.Creator object called "