diff --git a/hidl/sensors/Sensors.cpp b/hidl/sensors/Sensors.cpp index e9fc5cee..d4e84b34 100644 --- a/hidl/sensors/Sensors.cpp +++ b/hidl/sensors/Sensors.cpp @@ -137,6 +137,7 @@ Return Sensors::getSensorsList(getSensorsList_cb _hidl_cb) { LOG(INFO) << "Fixing com.samsung.sensor.physical_proximity"; dst->type = SensorType::PROXIMITY; dst->typeAsString = SENSOR_STRING_TYPE_PROXIMITY; + dst->maxRange = 1; } }