You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Deprecated. ] Calls to ALooper_pollAll should be replaced with ALooper_pollOnce. If you call ALooper_pollOnce in a loop, you must treat all return values as if they also indicate ALOOPER_POLL_WAKE.
The text was updated successfully, but these errors were encountered:
On the NDK side this is handled in rust-mobile/ndk#491. If we didn't replace it in android-activity yet, a crate upgrade will cause a deprecation warning.
wuwbobo2021
changed the title
ALooper_pollAll is marked deprecated by Android NDK
Please document that attach_current_thread_permanently() prevents automatic de-allocation of JNI local references; ALooper_pollAll is marked deprecated by Android NDK
Nov 16, 2024
MarijnS95
changed the title
Please document that attach_current_thread_permanently() prevents automatic de-allocation of JNI local references; ALooper_pollAll is marked deprecated by Android NDKALooper_pollAll is marked deprecated by Android NDK
Nov 16, 2024
@wuwbobo2021 I've restored the original title and hid your new off-topic issue. Please refrain from using one issue to track multiple disjoint user requests, and instead open a new issue for anything that's unrelated.
I have found this discussion occasionally: android/ndk#2020.
Check https://developer.android.com/ndk/reference/group/looper#alooper_pollall:
The text was updated successfully, but these errors were encountered: