libbinder_ndk: V APIs are guarded with V
Using __ANDROID_API_FUTURE__ for V symbols was a workaround because __builtin_available(android __ANDROID_API_V__,*) didn't work when V is still a preview. It's fixed now in clang and we can use __ANDROID_API_V__ when gaurding V symbols. The guard evaluates to true if the platform SDK version is V or higher or it's a preview. Bug: 322384429 Test: presubmit Change-Id: If35077330d0b002091cf191c2de31dc93e09178d
Loading
Please register or sign in to comment