1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Android: Fix crash on startup for devices with API level < 23

This commit is contained in:
reuk 2022-08-11 11:49:13 +01:00
parent 61fd8827e1
commit 603c98c9d1
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11

View file

@ -572,7 +572,7 @@ DECLARE_JNI_CLASS (AndroidView, "android/view/View")
METHOD (setOnApplyWindowInsetsListener, "setOnApplyWindowInsetsListener", "(Landroid/view/View$OnApplyWindowInsetsListener;)V") \
METHOD (getRootWindowInsets, "getRootWindowInsets", "()Landroid/view/WindowInsets;")
DECLARE_JNI_CLASS (AndroidView23, "android/view/View")
DECLARE_JNI_CLASS_WITH_MIN_SDK (AndroidView23, "android/view/View", 23)
#undef JNI_CLASS_MEMBERS
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK) \