From 56227e8e0030a1be5b611764e6ac069527d542f0 Mon Sep 17 00:00:00 2001 From: gaochao Date: Wed, 18 Jun 2025 09:23:25 +0800 Subject: [PATCH] =?UTF-8?q?CAPI=E7=BB=93=E6=9E=84=E4=BD=93=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: gaochao --- .../include/resourcemanager/resmgr_common.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/global/resource_management/include/resourcemanager/resmgr_common.h b/global/resource_management/include/resourcemanager/resmgr_common.h index 13b49689ca..2b32c30521 100644 --- a/global/resource_management/include/resourcemanager/resmgr_common.h +++ b/global/resource_management/include/resourcemanager/resmgr_common.h @@ -152,7 +152,12 @@ typedef struct ResourceManager_Configuration { char* locale; /** Indicates the device type. */ ResourceManager_DeviceType deviceType; - /** Indicates the screen density. */ + /** + * Indicates the screen density. + * + * @deprecated since 20 + * @useinstead screenDensityDpi + */ ScreenDensity screenDensity; /** Indicates the color mode. */ ResourceManager_ColorMode colorMode; @@ -162,6 +167,12 @@ typedef struct ResourceManager_Configuration { uint32_t mnc; /** Reserved attributes. */ uint32_t reserved[20]; + /** + * Indicates the screen density dpi. + * + * @since 20 + */ + ScreenDensity screenDensityDpi; } ResourceManager_Configuration; #ifdef __cplusplus }; -- Gitee