diff options
| author | Steven Moreland <smoreland@google.com> | 2020-07-28 01:23:33 +0000 |
|---|---|---|
| committer | Steven Moreland <smoreland@google.com> | 2020-07-28 01:47:10 +0000 |
| commit | 291348786a3693cd1b4f32906ef648eb49d57424 (patch) | |
| tree | eb60eb389a01771ae1d3253873b47ef4091cba71 /core/java/android | |
| parent | 9e9ce9f9efa6d07450d976dfcbc1d666e51a11fc (diff) | |
Allow module libs to use VINTF AIDL (part II)
Allow parcelables to be compiled which report VINTF stability.
Bug: 161501127
Test: atest aidl_integration_test
Change-Id: Idc2acb28ac0475ee69385487c7ef619951f93516
Merged-In: Idc2acb28ac0475ee69385487c7ef619951f93516
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/os/Parcelable.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/java/android/os/Parcelable.java b/core/java/android/os/Parcelable.java index bedbba04255e..3d3759e695e0 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; /** |
