Fix crash on Android 12
