[ACR-1426] Add a new feature to check display control 77/211177/1
authorlokilee73 <changjoo.lee@samsung.com>
Wed, 31 Jul 2019 01:39:41 +0000 (10:39 +0900)
committerlokilee73 <changjoo.lee@samsung.com>
Wed, 31 Jul 2019 01:50:12 +0000 (10:50 +0900)
- tizen.org/feature/display is added
- if this feature is true, it means it supports below CAPIs including h/w supports
  ex) int device_add_callback(device_callback_e type, device_changed_cb callback, void *user_data)
      int device_remove_callback(device_callback_e type, device_changed_cb callback)
      int device_display_get_brightness(int display_index, int *brightness)
      int device_display_get_max_brightness(int display_index, int *max_brightness)
      int device_display_get_numbers(int *device_number)
      int device_display_get_state(display_state_e *state)
      int device_display_set_brightness(int display_index, int brightness)
- if the feature is false, then the CAPIs will return DEVICE_ERROR_NOT_SUPPORTED

Change-Id: Ieb2bbdcfb0de6705af33c88a9a0e8f15bb6d0eef
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
packaging/domain-apis-ui.inc

index b92e5d936da1883ec05cfcc8891ca93e02ddaca9..34da2f63f06305869a903589539fc04d312de88a 100644 (file)
@@ -372,6 +372,7 @@ There are three categories to choose.<br>
 
 %files sub2-domain_API-UI-Display_Server
 %posttrans sub2-domain_API-UI-Display_Server
+%tizen_feature tizen.org/feature/display true
 %tizen_feature tizen.org/feature/display.state true
 
 %package sub2-domain_API-UI-Display_Server_Headless
@@ -387,4 +388,5 @@ support just simple protocol for user input and buffer management.
 
 %files sub2-domain_API-UI-Display_Server_Headless
 %posttrans sub2-domain_API-UI-Display_Server_Headless
+%tizen_feature tizen.org/feature/display false
 %tizen_feature tizen.org/feature/display.state false