Merge "Allow module libs to use VINTF AIDL (part II)" am: 1054fd8e86

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

Change-Id: I84d065e93e8b7b3b8de3a498304c22f69ca6809d
This commit is contained in:
Treehugger Robot
2020-07-28 19:43:14 +00:00
committed by Automerger Merge Worker
3 changed files with 13 additions and 0 deletions

View File

@@ -55,5 +55,10 @@ package android.os {
method public final void markVintfStability(); 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
}
} }

View File

@@ -17,6 +17,7 @@
package android.os; package android.os;
import android.annotation.IntDef; import android.annotation.IntDef;
import android.annotation.SystemApi;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy; import java.lang.annotation.RetentionPolicy;
@@ -119,6 +120,7 @@ public interface Parcelable {
* @see ParcelableHolder * @see ParcelableHolder
* @hide * @hide
*/ */
@SystemApi(client = SystemApi.Client.MODULE_LIBRARIES)
public static final int PARCELABLE_STABILITY_LOCAL = 0x0000; public static final int PARCELABLE_STABILITY_LOCAL = 0x0000;
/** /**
* Something that is meant to be used between system and vendor. * Something that is meant to be used between system and vendor.
@@ -126,6 +128,7 @@ public interface Parcelable {
* @see ParcelableHolder * @see ParcelableHolder
* @hide * @hide
*/ */
@SystemApi(client = SystemApi.Client.MODULE_LIBRARIES)
public static final int PARCELABLE_STABILITY_VINTF = 0x0001; public static final int PARCELABLE_STABILITY_VINTF = 0x0001;
/** /**

View File

@@ -15,5 +15,10 @@ package android.os {
method public final void markVintfStability(); 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
}
} }