setting-keys: Add VCONFKEY_SETAPPL_TIMEOUT_DIM 97/309897/3 tizen
authorYoungjae Cho <y0.cho@samsung.com>
Wed, 17 Apr 2024 12:51:45 +0000 (21:51 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Thu, 18 Apr 2024 06:15:11 +0000 (15:15 +0900)
It takes time in second, and if the value is nonnegative, it fixes
screen dim timeout by the value.

 - If the value is negative, then the screen dim timeout works same as
   before, 30% of VCONFKEY_SETAPPL_LCD_TIMEOUT_NORMAL.

 - If the value is nonnegative, dim state consumes its own timeout,
   VCONFKEY_SETAPPL_TIMEOUT_DIM. By this, normal state solely consumes
   entire VCONFKEY_SETAPPL_TIMEOUT_NORMAL, not sharing it with dim.

Change-Id: Ica90eb742f149ac8b3bf3f9c6894f0ff8f376e78
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
data/vconf-internal-setting-keys.xml
packaging/vconf-internal-keys.spec

index 6847f05..f0acb44 100644 (file)
       <enumdata>SETTING_SCREEN_MODE_MAX</enumdata>
     </enumlist>
   </vconfkey>
+  <vconfkey type="int32" name="db/setting/timeout_dim" readPriv="http://tizen.org/privilege/internal/default/public" writePriv="http://tizen.org/privilege/systemsettings.admin">
+    <header>VCONFKEY_SETAPPL_TIMEOUT_DIM</header>
+    <val>-1</val>
+    <creator>Youngjae Cho</creator>
+    <email>y0.cho@samsung.com</email>
+    <comment><![CDATA[ Nonnegative value would be applied to timeout for screen dim state. Takes second time ]]></comment>
+  </vconfkey>
   <vconfkey type="int32" name="db/setting/lcd_backlight_normal" readPriv="http://tizen.org/privilege/internal/default/public" writePriv="http://tizen.org/privilege/systemsettings.admin">
     <header>VCONFKEY_SETAPPL_LCD_TIMEOUT_NORMAL</header>
     <val>30</val>
index bd640e8..8b69b8e 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       vconf-internal-keys
 Summary:    Internal shared keys for vconf
-Version:    0.0.190
+Version:    0.0.191
 Release:    0
 Group:      Application Framework/Configuration
 License:    Apache-2.0