Loading services/inputflinger/dispatcher/InputState.cpp +2 −3 Original line number Original line Diff line number Diff line Loading @@ -338,9 +338,8 @@ bool InputState::shouldCancelPreviousStream(const MotionEntry& motionEntry) cons // it's unlikely that those two streams would be consistent with each other. Therefore, // it's unlikely that those two streams would be consistent with each other. Therefore, // cancel the previous gesture if the display id changes. // cancel the previous gesture if the display id changes. if (motionEntry.displayId != lastMemento.displayId) { if (motionEntry.displayId != lastMemento.displayId) { LOG(INFO) << "Canceling stream: last displayId was " LOG(INFO) << "Canceling stream: last displayId was " << lastMemento.displayId << inputEventSourceToString(lastMemento.displayId) << " and new event is " << " and new event is " << motionEntry; << motionEntry; return true; return true; } } Loading Loading
services/inputflinger/dispatcher/InputState.cpp +2 −3 Original line number Original line Diff line number Diff line Loading @@ -338,9 +338,8 @@ bool InputState::shouldCancelPreviousStream(const MotionEntry& motionEntry) cons // it's unlikely that those two streams would be consistent with each other. Therefore, // it's unlikely that those two streams would be consistent with each other. Therefore, // cancel the previous gesture if the display id changes. // cancel the previous gesture if the display id changes. if (motionEntry.displayId != lastMemento.displayId) { if (motionEntry.displayId != lastMemento.displayId) { LOG(INFO) << "Canceling stream: last displayId was " LOG(INFO) << "Canceling stream: last displayId was " << lastMemento.displayId << inputEventSourceToString(lastMemento.displayId) << " and new event is " << " and new event is " << motionEntry; << motionEntry; return true; return true; } } Loading