Test[capture]: Make grabbing non-opportunistic

This commit is contained in:
artdeell 2024-07-03 22:21:47 +03:00 committed by Maksim Belov
parent 348fc84cb4
commit 7631e3c9e7

View File

@ -35,11 +35,6 @@ public class AndroidPointerCapture implements ViewTreeObserver.OnWindowFocusChan
}
public void handleAutomaticCapture() {
if(!CallbackBridge.isGrabbing()) return;
if(mHostView.hasPointerCapture()) {
enableTouchpadIfNecessary();
return;
}
if(!mHostView.hasWindowFocus()) {
mHostView.requestFocus();
} else {