diff options
Diffstat (limited to 'services/inputflinger/InputClassifier.cpp')
-rw-r--r-- | services/inputflinger/InputClassifier.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/services/inputflinger/InputClassifier.cpp b/services/inputflinger/InputClassifier.cpp index 77a0716269..a9cbd5ad02 100644 --- a/services/inputflinger/InputClassifier.cpp +++ b/services/inputflinger/InputClassifier.cpp @@ -391,6 +391,16 @@ void InputClassifier::notifyMotion(const NotifyMotionArgs* args) { mListener->notifyMotion(&newArgs); } +void InputClassifier::notifySensor(const NotifySensorArgs* args) { + // pass through + mListener->notifySensor(args); +} + +void InputClassifier::notifyVibratorState(const NotifyVibratorStateArgs* args) { + // pass through + mListener->notifyVibratorState(args); +} + void InputClassifier::notifySwitch(const NotifySwitchArgs* args) { // pass through mListener->notifySwitch(args); @@ -405,6 +415,11 @@ void InputClassifier::notifyDeviceReset(const NotifyDeviceResetArgs* args) { mListener->notifyDeviceReset(args); } +void InputClassifier::notifyPointerCaptureChanged(const NotifyPointerCaptureChangedArgs* args) { + // pass through + mListener->notifyPointerCaptureChanged(args); +} + void InputClassifier::setMotionClassifier( std::unique_ptr<MotionClassifierInterface> motionClassifier) { std::scoped_lock lock(mLock); |