diff options
Diffstat (limited to 'libs/binder/ndk/stability.cpp')
-rw-r--r-- | libs/binder/ndk/stability.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/libs/binder/ndk/stability.cpp b/libs/binder/ndk/stability.cpp index 7eafb9c025..a5b3ecea4a 100644 --- a/libs/binder/ndk/stability.cpp +++ b/libs/binder/ndk/stability.cpp @@ -31,7 +31,7 @@ using ::android::internal::Stability; #error libbinder_ndk should only be built in a system context #endif -// explicit extern because symbol is only declared in header when __ANDROID_VENDOR__ +// explicit extern because symbol is only declared in header when __ANDROID_VNDK__ extern "C" void AIBinder_markVendorStability(AIBinder* binder) { Stability::markVndk(binder->getBinder().get()); } @@ -43,12 +43,3 @@ void AIBinder_markSystemStability(AIBinder* binder) { void AIBinder_markVintfStability(AIBinder* binder) { Stability::markVintf(binder->getBinder().get()); } - -// explicit extern because symbol is only declared in header when __ANDROID_VENDOR__ -extern "C" void AIBinder_forceDowngradeToVendorStability(AIBinder* binder) { - Stability::forceDowngradeToVendorStability(binder->getBinder()); -} - -void AIBinder_forceDowngradeToSystemStability(AIBinder* binder) { - Stability::forceDowngradeToSystemStability(binder->getBinder()); -} |