callback: remove feature checking 01/282901/2 accepted/tizen/unified/20221102.020537
authorYoungjae Cho <y0.cho@samsung.com>
Thu, 13 Oct 2022 06:20:47 +0000 (15:20 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Thu, 13 Oct 2022 06:41:00 +0000 (15:41 +0900)
Checking feature http://tizen.org/feature/display.state had been
added without ACR and it broke ABI compatibility.
  - callback: check feature before add/remove callback (f860d7)

To recover ABI compatability, do not check the feature.

Change-Id: I3721268455ac62b52054f873808c224a8efdf832
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
src/callback.c

index 2d596e4..9f448c4 100644 (file)
@@ -357,9 +357,6 @@ static int device_callback_check_feature_supported(int type)
                retval = system_info_get_platform_bool("http://tizen.org/feature/display", &supported);
                if (retval != SYSTEM_INFO_ERROR_NONE || !supported)
                        return -ENOTSUP;
-               retval = system_info_get_platform_bool("http://tizen.org/feature/display.state", &supported);
-               if (retval != SYSTEM_INFO_ERROR_NONE || !supported)
-                       return -ENOTSUP;
 
                f_display = true;
                return 0;