diff options
| author | 2021-04-02 18:31:31 +0000 | |
|---|---|---|
| committer | 2021-04-02 18:31:31 +0000 | |
| commit | 6ea338bb18740d00a55c424f2a044d5bd89d7ca5 (patch) | |
| tree | 59f516c9d738f479096adb40c2e7965897f4cede /libs/binder | |
| parent | bf5af5bfd8e96af5ba89afd22d150ac1479560a0 (diff) | |
| parent | 4343f85cdeb68c846cd61eb56796883c79e6ef49 (diff) | |
Merge "libbinder_ndk: warn on AIBinder_markVintfStability"
Diffstat (limited to 'libs/binder')
| -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); |