diff options
| author | 2021-04-02 18:59:33 +0000 | |
|---|---|---|
| committer | 2021-04-02 18:59:33 +0000 | |
| commit | 0b46db76dced0f52cd561bf2efa39cb6191e0d76 (patch) | |
| tree | 59f516c9d738f479096adb40c2e7965897f4cede /libs | |
| parent | f270622e3ddcd1463f52278158b07b0b1f6a1339 (diff) | |
| parent | dc93b188e484c07434bd5a758838dbc03e8c5009 (diff) | |
Merge "libbinder_ndk: warn on AIBinder_markVintfStability" am: 6ea338bb18 am: dc93b188e4
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1662798
Change-Id: Ic42c57544ec08efff14248afe82ae82ff0db6060
Diffstat (limited to 'libs')
| -rw-r--r-- | libs/binder/ndk/include_platform/android/binder_stability.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/binder/ndk/include_platform/android/binder_stability.h b/libs/binder/ndk/include_platform/android/binder_stability.h index ce7255e174..c23716c778 100644 --- a/libs/binder/ndk/include_platform/android/binder_stability.h +++ b/libs/binder/ndk/include_platform/android/binder_stability.h @@ -65,6 +65,12 @@ static inline void AIBinder_markCompilationUnitStability(AIBinder* binder) { #endif // defined(__ANDROID_VENDOR__) /** + * WARNING: this is not expected to be used manually. When the build system has + * versioned checks in place for an interface that prevent it being changed year + * over year (specifically like those for @VintfStability stable AIDL + * interfaces), this could be called. Calling this without this or equivalent + * infrastructure will lead to de facto frozen APIs or GSI test failures. + * * This interface has system<->vendor stability */ void AIBinder_markVintfStability(AIBinder* binder); |