mFlags |= (hwSensor.flags & DATA_INJECTION_MASK);
}
+#ifndef NO_SENSOR_PERMISSION_CHECK
if (mRequiredPermission.length() > 0) {
// If the sensor is protected by a permission we need to know if it is
// a runtime one to determine whether we can use the permission cache.
String16(mRequiredPermission));
}
}
+#endif
}
Sensor::~Sensor() {