W/IInputConnectionWrapper: reportFullscreenMode on inexistent InputConnection W/IInputConnectionWrap

问题背景

出现这个问题是在锤子手机上做兼容测试Debug版本的APP的时候产生的。

问题原因

因为我快速的点击跳转按钮两次,填充过快以为我的启动方式是仅有一个Activity,而我快速的打开同一个界面两次引起的此次错误。

详细错误日志

W/IInputConnectionWrapper: reportFullscreenMode on inexistent InputConnection
W/IInputConnectionWrapper: finishComposingText on inactive InputConnection
W/ViewRootImpl[MainActivity]: Dropping event due to no window focus: MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=477.55783, y[0]=554.71106, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=6, eventTime=10786371, downTime=10786294, deviceId=7, source=0x1002 }
W/ViewRootImpl[MainActivity]: Dropping event due to no window focus: MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=477.55783, y[0]=554.71106, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=10786380, downTime=10786294, deviceId=7, source=0x1002 }
W/ViewRootImpl[MainActivity]: Cancelling event due to no window focus: MotionEvent { action=ACTION_CANCEL, actionButton=0, id[0]=0, x[0]=477.55783, y[0]=554.71106, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=10786387, downTime=10786294, deviceId=7, source=0x1002 }
Cancelling event due to no window focus: MotionEvent { action=ACTION_CANCEL, actionButton=0, id[0]=0, x[0]=477.55783, y[0]=554.71106, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=10786387, downTime=10786294, deviceId=7, source=0x1002 }
W/ViewRootImpl[MainActivity]: Cancelling event due to no window focus: MotionEvent { action=ACTION_CANCEL, actionButton=0, id[0]=0, x[0]=477.55783, y[0]=554.71106, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=10786387, downTime=10786294, deviceId=7, source=0x1002 }

解决办法

其实我与电脑中断了连接这个问题就不再出现了,我怀疑是因为debug手机和androidstudio的连接导致的,正式版没有问题。

你可能感兴趣的:(android)