This CL gives default values for all fields in Sensor native
object.
Bug:
37640915
Test: added local logging to verify all native sensor objects are
initialized correctly.
Change-Id: I4076756249788f56960c74629cb800f1b2bae79f
Sensor(*hwSensor, uuid_t(), halVersion) {
}
-Sensor::Sensor(struct sensor_t const& hwSensor, const uuid_t& uuid, int halVersion) {
+Sensor::Sensor(struct sensor_t const& hwSensor, const uuid_t& uuid, int halVersion) :
+ Sensor("") {
mName = hwSensor.name;
mVendor = hwSensor.vendor;
mVersion = hwSensor.version;