Hide pointer while typing on a physical keyboard
In this change we will hide the mouse pointer while user is typing on a
physical keyboard for a better typing experiance.
Test: Manual test and atest inputflinger_tests
Bug: 275616121
Change-Id: I68192af2769ff0795664ecd2c8d737d69e97e73b
diff --git a/services/inputflinger/tests/fuzzers/MapperHelpers.h b/services/inputflinger/tests/fuzzers/MapperHelpers.h
index 1e44e0f..ec98f81 100644
--- a/services/inputflinger/tests/fuzzers/MapperHelpers.h
+++ b/services/inputflinger/tests/fuzzers/MapperHelpers.h
@@ -289,6 +289,7 @@
}
void setTouchAffineTransformation(const TouchAffineTransformation t) { mTransform = t; }
void notifyStylusGestureStarted(int32_t, nsecs_t) {}
+ bool isInputMethodConnectionActive() override { return mFdp->ConsumeBool(); }
};
class FuzzInputListener : public virtual InputListenerInterface {