I can see the view, so it's definitely on the screen, but for some reason Espresso can't inject the event
Reconfiguring input devices. changes=0x00000004
Device reconfigured: id=0, name='qwerty2', size 768x1280, orientation 1, mode 1, display id 0
//I guess the lines above are triggered by the screen rotation
...
Lifecycle status change: com.xxx.ui.body.BodyActivity@5294dd88 in: RESUMED
//just after rotate screen completed
...
callback completes: com.xxx.espresso.async.robospice.RobospiceIdlingResource@528765d8
//Idling resource just finished
Screen frozen for +266ms due to Window{529877e0 u0 StatusBar}
Permission denied: injecting event from pid 13493 uid 10067
Injection of up event failed (corresponding down event: MotionEvent { action=ACTION_DOWN, id[0]=0, x[0]=383.5, y[0]=1103.5, toolType[0]=TOOL_TYPE_UNKNOWN, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=12903759, downTime=12903758, deviceId=0, source=0x1002 })
Injection of up event as part of the click failed. Send cancel event.
Permission denied: injecting event from pid 13493 uid 10067
Input event injection from pid 13493 failed.
Input event injection from pid 13493 failed.
Injection of cancel event failed (corresponding down event: MotionEvent { action=ACTION_DOWN, id[0]=0, x[0]=383.5, y[0]=1103.5, toolType[0]=TOOL_TYPE_UNKNOWN, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=12903759, downTime=12903758, deviceId=0, source=0x1002 })
Dropping event because there is no touchable window at (383, 1103).
Permission denied: injecting event from pid 13493 uid 10067
Input event injection from pid 13493 failed.
Dropping event because there is no touchable window at (383, 1103).
Permission denied: injecting event from pid 13493 uid 10067
Input event injection from pid 13493 failed.
Dropping event because there is no touchable window at (383, 1103).
Permission denied: injecting event from pid 13493 uid 10067
Input event injection from pid 13493 failed.
Lifecycle status change: com.xxx.ui.notification_landing.ProxyPendingPrescriptionsActivity@5282f800 in: DESTROYED