Initialize major_version and minor_version as v1.0 28/313128/1 accepted/tizen/unified/20240621.010421
authorChanwoo Choi <cw00.choi@samsung.com>
Wed, 19 Jun 2024 07:26:15 +0000 (16:26 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 19 Jun 2024 07:26:27 +0000 (16:26 +0900)
Initialize major_version and minor_version as v1.0
in order to support the new HAL API versioning method
and then remove the deprecated abi_version field.

Change-Id: Ie655d7dc3a5798b4738052826b174b43feb8a42e
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
src/hal-backend-sensor.cpp

index 3a7a6e56036419d8a48274eb0a678fbb32d6e0f8..a5221728e43e68bfad200e0c1bd5924cd47532d6 100644 (file)
@@ -89,7 +89,8 @@ static int sensor_emulator_exit(void *data) {
 extern "C" hal_backend hal_backend_sensor_data = {
     .name = "sensor-emulator",
     .vendor = "Tizen",
-    .abi_version = HAL_ABI_VERSION_TIZEN_7_0,
     .init = sensor_emulator_init,
     .exit = sensor_emulator_exit,
+    .major_version = 1,
+    .minor_version = 0,
 };