Dim display on all platforms except SDK
authorBrad Peters <brad.t.peters@intel.com>
Tue, 11 Dec 2012 19:19:57 +0000 (11:19 -0800)
committerGerrit Code Review <gerrit2@kim11>
Thu, 20 Dec 2012 18:54:05 +0000 (03:54 +0900)
packaging/org.tizen.setting.spec
packaging/settings.changes

index 0f3e451..30efc14 100755 (executable)
@@ -192,11 +192,14 @@ GOPTION="-g 6514"
 
 #resetDisplay
        #backlight
-%ifarch %{arm}
-       vconftool $GOPTION set -t int db/setting/lcd_backlight_normal "30"
-%else
+
+# Set backlight timeout to dim display on all platforms except emulator
+%if 0%{?simulator}
        vconftool $GOPTION set -t int db/setting/lcd_backlight_normal "0"
+%else
+       vconftool $GOPTION set -t int db/setting/lcd_backlight_normal "30"
 %endif
+
        vconftool $GOPTION set -t int db/setting/lcd_timeout_normal_backup "30"
 
        #brightness
index 4e0c743..9fbc48a 100644 (file)
@@ -1,3 +1,8 @@
+* Tue Dec 11 2012 Brad Peters <brad.t.peters@intel.com>
+- LCD backlight timeout is needed on IA as well as arm, or power-manager
+ does not properly manage backlight off/on until this vconf key
+ is overwritten by some other process
+
 * Sat Nov 24 2012 Jing Yigang <yigang.jing@samsung.com>
 - Release