Loading core/java/android/os/Parcelable.java +4 −3 Original line number Diff line number Diff line Loading @@ -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; Loading @@ -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> * Loading Loading
core/java/android/os/Parcelable.java +4 −3 Original line number Diff line number Diff line Loading @@ -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; Loading @@ -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> * Loading