Merge "Stop removing raw status when device is disabled."
diff --git a/services/inputflinger/reader/mapper/TouchInputMapper.cpp b/services/inputflinger/reader/mapper/TouchInputMapper.cpp
index b748bfe..8bf1a27 100644
--- a/services/inputflinger/reader/mapper/TouchInputMapper.cpp
+++ b/services/inputflinger/reader/mapper/TouchInputMapper.cpp
@@ -1453,8 +1453,6 @@
if (mDeviceMode == DeviceMode::DISABLED) {
// Drop all input if the device is disabled.
cancelTouch(mCurrentRawState.when);
- mCurrentRawState.clear();
- mRawStatesPending.clear();
mCurrentCookedState.clear();
updateTouchSpots();
return;