summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid API Council <no-reply@android.com>2024-02-12 13:22:51 -0800
committerAndroid API Council <copybara-worker@google.com>2024-02-12 13:23:16 -0800
commita5ec8fc2a5a28bb7cdf18f4b6dc15b909de5a547 (patch)
tree3c008f50ec9e3cf7c684f68c60a49f8c8802d58b
parentcf79849224405677e8d3a7bb5f42c420e2f60fc3 (diff)
downloaddocs-a5ec8fc2a5a28bb7cdf18f4b6dc15b909de5a547.tar.gz
Update note about `__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__`.
This is available to apps now, but the rest of the caveat remains true. PiperOrigin-RevId: 606346460 Change-Id: I2e7e56695d3f3827d03e07491ae610d7970b3354
-rw-r--r--api-guidelines/ndk.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/api-guidelines/ndk.md b/api-guidelines/ndk.md
index 010e353..4c46609 100644
--- a/api-guidelines/ndk.md
+++ b/api-guidelines/ndk.md
@@ -577,12 +577,12 @@ from being written in C++ (Jetpack libraries may use C++ in headers).
**Inline code cannot use `__builtin_available`.** Using `__builtin_available`
instead of `dlopen`/`dlsym` only works if
-`__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__` is set. At the time of writing, that
-configuration is not supported for apps. There are no plans to ever remove the
-current behavior, nor to make `__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__` the
-default, as there are tradeoffs involved that must be made by the app developer.
-As such, inline code must always work in both configurations, and the only way
-to do that is with `dlopen`/`dlsym`.
+`__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__` is set. There are no plans to ever
+remove the current behavior, nor to make
+`__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__` the default, as there are tradeoffs
+involved that must be made by the app developer. As such, inline code must
+always work in both configurations, and the only way to do that is with
+`dlopen`/`dlsym`.
## Error Handling <a name="error-handling"></a>