mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2026-04-20 09:37:07 -04:00
Test[capture]: Make grabbing non-opportunistic
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user