summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2020-07-24 23:08:32 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-07-24 23:08:32 +0000
commitd40462e66d47aaabc125e4e30531fce7b5b9754e (patch)
treefb1c68d3e231be01ed99cb9b6c10415abce35db8 /core/java/android
parentda7e355785c6216e0ade8cbc61a7349d236572ea (diff)
parent298d06f29275e71af5dd6ecb7059a9e0a7da4b3c (diff)
Merge "Allow module libs to use VINTF AIDL." am: 298d06f292
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1371822 Change-Id: I306603dfaacaa1647276bfd4a072a9cfdafb2d3e
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/os/Binder.java14
1 files changed, 8 insertions, 6 deletions
diff --git a/core/java/android/os/Binder.java b/core/java/android/os/Binder.java
index f2cf4e3981d3..bf6284347e93 100644
--- a/core/java/android/os/Binder.java
+++ b/core/java/android/os/Binder.java
@@ -505,15 +505,17 @@ public class Binder implements IBinder {
/**
* Mark as being built with VINTF-level stability promise. This API should
- * only ever be invoked by the build system. It means that the interface
- * represented by this binder is guaranteed to be kept stable for several
- * years, and the build system also keeps snapshots of these APIs and
- * invokes the AIDL compiler to make sure that these snapshots are
- * backwards compatible. Instead of using this API, use an @VintfStability
- * interface.
+ * only ever be invoked by generated code from the aidl compiler. It means
+ * that the interface represented by this binder is guaranteed to be kept
+ * stable for several years, according to the VINTF compatibility lifecycle,
+ * and the build system also keeps snapshots of these APIs and invokes the
+ * AIDL compiler to make sure that these snapshots are backwards compatible.
+ * Instead of using this API, use the @VintfStability annotation on your
+ * AIDL interface.
*
* @hide
*/
+ @SystemApi(client = SystemApi.Client.MODULE_LIBRARIES)
public final native void markVintfStability();
/**