Android 检测sendPointerSync不会调用悬停事件

Android 检测sendPointerSync不会调用悬停事件,android,hover,mouse,instrumentation,motionevent,Android,Hover,Mouse,Instrumentation,Motionevent,如果我在Android中使用Instrumentation类发送鼠标移动,如下所示: mInstrumentation.sendPointerSync(MotionEvent.obtain(SystemClock.uptimeMillis(), SystemClock.uptimeMillis(), MotionEvent.ACTION_HOVER_MOVE, x, y, 0)); 当指针在GUI对象之间移动时,它们不会收到“悬停

如果我在Android中使用Instrumentation类发送鼠标移动,如下所示:

mInstrumentation.sendPointerSync(MotionEvent.obtain(SystemClock.uptimeMillis(),
                                SystemClock.uptimeMillis(), MotionEvent.ACTION_HOVER_MOVE, x, y, 0));
当指针在GUI对象之间移动时,它们不会收到“悬停”事件

有人知道为什么吗

插入USB鼠标会产生悬停事件