Skip to content

App is crashing in Android 13 , getting issue Injecting input events ,in line no. MultiSpinnerSearch.java:185 #109

Description

@DevTheKing

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions