diff --git a/sensors/Sensors.cpp b/sensors/Sensors.cpp index 678ac72..4ba0127 100644 --- a/sensors/Sensors.cpp +++ b/sensors/Sensors.cpp @@ -125,6 +125,16 @@ Return Sensors::getSensorsList(getSensorsList_cb _hidl_cb) { SensorInfo *dst = &out[i]; convertFromSensor(*src, dst); + + if (dst->typeAsString == "qti.sensor.wise_light") { + dst->type = SensorType::LIGHT; + dst->typeAsString = ""; + } + if (dst->typeAsString == "qti.sensor.proximity_fake") { + dst->type = SensorType::PROXIMITY; + dst->typeAsString = ""; + } + } _hidl_cb(out);