Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 287e19fd authored by Harry Cutts's avatar Harry Cutts
Browse files

Log touchpad hardware states when flag is set

Bug: 251196347
Test: enable the flag, move a finger on a touchpad, check logs
Change-Id: I37984e8608fca8b40d5427a06a5fe25ec0f2d546
parent c5025370
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -260,6 +260,7 @@ std::list<NotifyArgs> TouchpadInputMapper::process(const RawEvent* rawEvent) {


std::list<NotifyArgs> TouchpadInputMapper::sendHardwareState(nsecs_t when, nsecs_t readTime,
std::list<NotifyArgs> TouchpadInputMapper::sendHardwareState(nsecs_t when, nsecs_t readTime,
                                                             SelfContainedHardwareState schs) {
                                                             SelfContainedHardwareState schs) {
    ALOGD_IF(DEBUG_TOUCHPAD_GESTURES, "New hardware state: %s", schs.state.String().c_str());
    mProcessing = true;
    mProcessing = true;
    mGestureInterpreter->PushHardwareState(&schs.state);
    mGestureInterpreter->PushHardwareState(&schs.state);
    mProcessing = false;
    mProcessing = false;