Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ndk/input: Allow any non-zero return in
pre_dispatch()
again (#325)
Despite the [Android source] never returning anything other than `0` or `1` there appear to be platforms out in the wild that take [the documentation] quite literally and return vague non-zero codes apart `1` with a possible secondary meaning. [Android source]: https://cs.android.com/android/platform/superproject/+/master:frameworks/base/core/jni/android_view_InputQueue.cpp;drc=b6d7f3b484e4c32c144c66bee342c29e7a8d34cc;l=115 [the documentation]: https://developer.android.com/ndk/reference/group/input#ainputqueue_predispatchevent
- Loading branch information