eqs: sensors: implement and enable UDFPS sensor

This commit is contained in:
SGCMarkus
2022-10-29 19:53:43 +02:00
parent 2c578fa288
commit b2dde636dd
4 changed files with 63 additions and 27 deletions

View File

@@ -34,6 +34,7 @@ using ::android::hardware::sensors::V2_0::implementation::ScopedWakelock;
SensorsSubHal::SensorsSubHal() : mCallback(nullptr), mNextHandle(1) {
AddSensor<InputEventDT2WSensor>();
AddSensor<InputEventUdfpsSensor>();
}
Return<void> SensorsSubHal::getSensorsList_2_1(ISensors::getSensorsList_2_1_cb _hidl_cb) {