From d8af21046998af7e00279bb71f30ef879fcd28d9 Mon Sep 17 00:00:00 2001 From: Yunhee Seo Date: Thu, 13 Jun 2024 19:40:16 +0900 Subject: [PATCH] plugin-api: deviced: Add attributes for display New attribute: - id: DEVICED_DISPLAY_ATTR_LOCKSCREEN_BG_STATE - type: SYSCOMMON_RESMAN_DATA_TYPE_INT - setter: X - getter: O New attribute: - id: DEVICED_DISPLAY_ATTR_INT_LCDOFF_REASON - type: SYSCOMMON_RESMAN_DATA_TYPE_INT - setter: O - getter: X New attribute: - id: DEVICED_DISPLAY_ATTR_INT_STATE_TRANSITION - type: SYSCOMMON_RESMAN_DATA_TYPE_INT - setter: O - getter: X The corresponding attributes may be changed during the display state refactoring process. These are necessary for plugin backend separation. Change-Id: Iaaa53863e641e3bef401def4a0022aa14d055b96 Signed-off-by: Yunhee Seo --- .../system/syscommon-plugin-deviced-display-interface.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugin-api/deviced/include/system/syscommon-plugin-deviced-display-interface.h b/src/plugin-api/deviced/include/system/syscommon-plugin-deviced-display-interface.h index c366196..c3c7183 100644 --- a/src/plugin-api/deviced/include/system/syscommon-plugin-deviced-display-interface.h +++ b/src/plugin-api/deviced/include/system/syscommon-plugin-deviced-display-interface.h @@ -49,6 +49,9 @@ extern "C" { #define DEVICED_DISPLAY_ATTR_TUPLE3_UNLOCK_WITH_OPTION (1ULL << 14) #define DEVICED_DISPLAY_ATTR_TUPLE4_LOCK_WITH_OPTION (1ULL << 15) #define DEVICED_DISPLAY_ATTR_INT_LOCKSCREEN_STATE (1ULL << 16) +#define DEVICED_DISPLAY_ATTR_INT_LOCKSCREEN_BG_STATE (1ULL << 17) +#define DEVICED_DISPLAY_ATTR_INT_LCDOFF_REASON (1ULL << 18) +#define DEVICED_DISPLAY_ATTR_INT_STATE_TRANSITION (1ULL << 19) enum syscommon_deviced_display_state { SYSCOMMON_DEVICED_DISPLAY_STATE_START, -- 2.34.1