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

Commit 31a7541e authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Parcelable: mention that the CREATOR field must be public." am:...

Merge "Parcelable: mention that the CREATOR field must be public." am: a5241e0f am: ce08d5ec am: 0627eab3 am: d65e51b3

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2481435



Change-Id: I7a86dd78b861dcfd2ab3f9808b05c08f5b236a3d
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 7eb25cf9 d65e51b3
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -16,8 +16,8 @@

package android.os;

import android.annotation.NonNull;
import android.annotation.IntDef;
import android.annotation.NonNull;
import android.annotation.SystemApi;

import java.lang.annotation.Retention;
@@ -26,8 +26,9 @@ import java.lang.annotation.RetentionPolicy;
/**
 * Interface for classes whose instances can be written to
 * and restored from a {@link Parcel}.  Classes implementing the Parcelable
 * interface must also have a non-null static field called <code>CREATOR</code>
 * of a type that implements the {@link Parcelable.Creator} interface.
 * interface must also have a non-null public static field called
 * <code>CREATOR</code> of a type that implements the {@link Parcelable.Creator}
 * interface.
 *
 * <p>A typical implementation of Parcelable is:</p>
 *