diff --git a/hidl/sensors/Sensors.cpp b/hidl/sensors/Sensors.cpp index 678ac72b..a242e375 100644 --- a/hidl/sensors/Sensors.cpp +++ b/hidl/sensors/Sensors.cpp @@ -125,6 +125,10 @@ Return Sensors::getSensorsList(getSensorsList_cb _hidl_cb) { SensorInfo *dst = &out[i]; convertFromSensor(*src, dst); + + if (dst->requiredPermission == "com.samsung.permission.SSENSOR") { + dst->requiredPermission = ""; + } } _hidl_cb(out);