java.lang.IllegalStateException crash on newer API level

Hello! Yes, you can find the fix here: