Retain sensor data vector mapping when disabled.

When sensor is disabled, do not clear sensor data vector mapping array.
This fixed the sensor data corruption when re-enabling sensor.

Bug: 161634265
Test: atest inputflinger_tests
Change-Id: I624b99b7d8e0a37fa3d76277f35d75ff5890a710
2 files changed