diff --git a/api/module-lib-current.txt b/api/module-lib-current.txt index 37ee8597651af..cacc950aca051 100644 --- a/api/module-lib-current.txt +++ b/api/module-lib-current.txt @@ -55,5 +55,10 @@ package android.os { method public final void markVintfStability(); } + public interface Parcelable { + field public static final int PARCELABLE_STABILITY_LOCAL = 0; // 0x0 + field public static final int PARCELABLE_STABILITY_VINTF = 1; // 0x1 + } + } diff --git a/core/java/android/os/Parcelable.java b/core/java/android/os/Parcelable.java index bedbba04255e5..3d3759e695e0d 100644 --- a/core/java/android/os/Parcelable.java +++ b/core/java/android/os/Parcelable.java @@ -17,6 +17,7 @@ package android.os; import android.annotation.IntDef; +import android.annotation.SystemApi; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; @@ -119,6 +120,7 @@ public interface Parcelable { * @see ParcelableHolder * @hide */ + @SystemApi(client = SystemApi.Client.MODULE_LIBRARIES) public static final int PARCELABLE_STABILITY_LOCAL = 0x0000; /** * Something that is meant to be used between system and vendor. @@ -126,6 +128,7 @@ public interface Parcelable { * @see ParcelableHolder * @hide */ + @SystemApi(client = SystemApi.Client.MODULE_LIBRARIES) public static final int PARCELABLE_STABILITY_VINTF = 0x0001; /** diff --git a/non-updatable-api/module-lib-current.txt b/non-updatable-api/module-lib-current.txt index 107182cc8fcd2..02827139f0c95 100644 --- a/non-updatable-api/module-lib-current.txt +++ b/non-updatable-api/module-lib-current.txt @@ -15,5 +15,10 @@ package android.os { method public final void markVintfStability(); } + public interface Parcelable { + field public static final int PARCELABLE_STABILITY_LOCAL = 0; // 0x0 + field public static final int PARCELABLE_STABILITY_VINTF = 1; // 0x1 + } + }