Fix to legacy hal can be loaded properly 20/318120/1 accepted/tizen/unified/20250123.133220 accepted/tizen/unified/x/20250124.014023
authorSangYoun Kwak <sy.kwak@samsung.com>
Mon, 13 Jan 2025 07:06:07 +0000 (16:06 +0900)
committerSangYoun Kwak <sy.kwak@samsung.com>
Mon, 13 Jan 2025 07:06:07 +0000 (16:06 +0900)
commite9074915600532383ca2fe039e8859dbcf6513c6
treed4d7c7f8291760087700afa095aaaa1ce4ef346c
parenta2d4c3bfbbcf70055f04428f30fd477364f2840e
Fix to legacy hal can be loaded properly

Since the legacy hal has create_t function and it creates sensor object,
which type is sensor_device provided by hal-api-sensor repository
previously.
To make sensord can load legacy hal properly, legacy sensor_device class
is added as name 'sensor_device'. 'sensor_device' class for hal sensor
device is renamed as hal_sensor_device.

Change-Id: If4e2f1f03fe1c8d0cfc59201956bb55e78f32c02
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
include/hal_sensor_device.h [new file with mode: 0644]
include/sensor_device.h
src/server/hal_sensor_device.cpp [new file with mode: 0644]
src/server/sensor_device.cpp [deleted file]
src/server/sensor_loader.cpp