-
-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App is crashing in Android 13 , getting issue Injecting input events ,in line no. MultiSpinnerSearch.java:185 #109
Comments
same issue here. |
@MahmoudMagdyEllawatty I downloaded the library and added it manually in my projects and given following permission in my AndroidManifest.xml file |
I have facing same issue, it crash in android 13 |
not fix issue |
Not fixed!! |
Hi ! Edited : Just replace :
By
This code will hide dropdown options when dialog will be cancelled. |
Fatal Exception: java.lang.SecurityException: Injecting input events requires the caller (or the source of the instrumentation, if any) to have the INJECT_EVENTS permission.
at android.os.Parcel.createExceptionOrNull(Parcel.java:3040)
at android.os.Parcel.createException(Parcel.java:3024)
at android.os.Parcel.readException(Parcel.java:3007)
at android.os.Parcel.readException(Parcel.java:2949)
at android.hardware.input.IInputManager$Stub$Proxy.injectInputEventToTarget(IInputManager.java:1294)
at android.hardware.input.InputManager.injectInputEvent(InputManager.java:1151)
at android.hardware.input.InputManager.injectInputEvent(InputManager.java:1180)
at android.app.Instrumentation.sendKeySync(Instrumentation.java:1135)
at android.app.Instrumentation.sendKeyDownUpSync(Instrumentation.java:1147)
at com.androidbuts.multispinnerfilter.MultiSpinnerSearch.lambda$onCancel$0(MultiSpinnerSearch.java:185)
at com.androidbuts.multispinnerfilter.-$$Lambda$MultiSpinnerSearch$p9xhRiNPdc-qw9SrA8LUwZsjeq0.run()
at java.lang.Thread.run(Thread.java:1012)
The text was updated successfully, but these errors were encountered: