fix smack related code
authorHyejin Kim <hyejin0906.kim@samsung.com>
Fri, 21 Dec 2012 04:32:52 +0000 (13:32 +0900)
committerHyejin Kim <hyejin0906.kim@samsung.com>
Fri, 21 Dec 2012 04:32:52 +0000 (13:32 +0900)
packaging/org.tizen.setting.spec
settings.manifest

index 30efc14..8eb6c1c 100755 (executable)
@@ -69,6 +69,7 @@ BuildRequires:  sysman-internal-devel
 BuildRequires:  cmake
 BuildRequires:  edje-tools
 BuildRequires:  gettext-tools
+Requires: org.tizen.phone
 %description
 Setting application
  BEAT UI, Setting application.
@@ -126,7 +127,7 @@ GOPTION="-g 6514"
        vconftool $GOPTION set -t int memory/setting/usb_mode "-1" -i -f
        vconftool $GOPTION set -t int memory/setting/usb_sel_mode "0" -i -f
        vconftool $GOPTION set -t int memory/setting/usb_in_mode_change "0" -i -f
-       vconftool $GOPTION set -t bool db/setting/debug_mode "1" -f
+       vconftool $GOPTION set -t bool db/setting/debug_mode "0" -f
 
 #resetSound
        DEFAULT_CALL_TONE="/opt/share/settings/Ringtones/ringtone_sdk.mp3"
@@ -192,14 +193,11 @@ GOPTION="-g 6514"
 
 #resetDisplay
        #backlight
-
-# 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
+%ifarch %{arm}
        vconftool $GOPTION set -t int db/setting/lcd_backlight_normal "30"
+%else
+       vconftool $GOPTION set -t int db/setting/lcd_backlight_normal "0"
 %endif
-
        vconftool $GOPTION set -t int db/setting/lcd_timeout_normal_backup "30"
 
        #brightness
index ac9350c..32294b2 100644 (file)
@@ -19,7 +19,6 @@
        <smack request="contacts-service" type="rw" />
        <smack request="contacts-service::db" type="rw" />
        <smack request="msg-service" type="w" />
-       <smack request="libug-phone::data" type="rwx" />
        <smack request="location_fw::db" type="rw" />
     </request>
     <permit>