From: Youngjae Cho Date: Thu, 13 Oct 2022 06:20:47 +0000 (+0900) Subject: callback: remove feature checking X-Git-Tag: accepted/tizen/unified/20221102.020537^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bec7d1282e87435d57033cb8933dd70cd2ee5064;p=platform%2Fcore%2Fapi%2Fdevice.git callback: remove feature checking 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 --- diff --git a/src/callback.c b/src/callback.c index 2d596e4..9f448c4 100644 --- a/src/callback.c +++ b/src/callback.c @@ -355,9 +355,6 @@ static int device_callback_check_feature_supported(int type) return 0; 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;