add vconf keys for the mock functions
authorMyoungJune Park <mj2004.park@samsung.com>
Mon, 22 Apr 2013 07:13:01 +0000 (16:13 +0900)
committerMyoungJune Park <mj2004.park@samsung.com>
Mon, 22 Apr 2013 07:20:41 +0000 (16:20 +0900)
- screen reader, speech rate are unsupported now but added key for API
  compatibility
- week_of_day is not supported now but added for key for API
  compatibility

packaging/org.tizen.setting.spec

index a26f394..fd813bd 100755 (executable)
@@ -212,6 +212,13 @@ GOPTION="-g 6514"
        vconftool $GOPTION set -t int db/menu_widget/regionformat_time1224 "1"
        vconftool $GOPTION set -t int db/setting/date_format "0"
 
+       #-----------------------------------------------------------------
+       # MOCK FUNCTION
+       # MOCK IMPLEMENTATION FOR API COMPATIBILITY
+       # NEED TO CHECK THE KEY WITH THE CALENDAR APP
+       #-----------------------------------------------------------------
+       vconftool $GOPTION set -t int db/setting/weekofday_format  "0"
+
        vconftool $GOPTION set -t string db/setting/timezone "+9"
        # to be removed
        vconftool $GOPTION set -t string db/setting/cityname_id "IDS_WCL_BODY_CITYNAME_SEOUL"
@@ -230,6 +237,14 @@ GOPTION="-g 6514"
        #vconftool $GOPTION set -t int db/setting/accessibility/font_style "0"
        vconftool $GOPTION set -t string db/setting/accessibility/font_name "HelveticaNeue"
 
+       #-----------------------------------------------------------------
+       # MOCK FUNCTION
+       # NOT SUPPORTED BUT ADDED FOR API COMPATIBILITY
+       # temp key for screen reader & speech rate
+       #-----------------------------------------------------------------
+       vconftool $GOPTION set -t bool db/setting/accessibility/tts "0"
+       vconftool $GOPTION set -t int db/setting/accessibility/speech_rate "2"
+
 #resetLanguageAndRegion
        vconftool $GOPTION set -t int db/setting/lang "10"
        vconftool $GOPTION set -t string db/menu_widget/language "en_GB.UTF-8"