diff options
author | 2024-06-17 14:09:22 +0900 | |
---|---|---|
committer | 2024-06-17 14:27:06 +0900 | |
commit | 2a2f7145decd6f57f214bd4a5d56595830de4875 (patch) | |
tree | 7b101ff4e4dc0ae97cebd056628abdae1756a46f /libs/ui/Gralloc5.cpp | |
parent | 5b7e5350a681c8331c3d5d71f2e4de3cb72fbc86 (diff) |
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
Diffstat (limited to 'libs/ui/Gralloc5.cpp')
0 files changed, 0 insertions, 0 deletions