remove trouble action rule
authorYoungjae Shin <yj99.shin@samsung.com>
Wed, 30 Oct 2019 02:23:50 +0000 (11:23 +0900)
committerYoungjae Shin <yj99.shin@samsung.com>
Thu, 19 Mar 2020 04:30:37 +0000 (13:30 +0900)
unittests/mdsp_test_vconf.cpp
unittests/mode/tizen_quickpanel_mode.xml
vconf/tizen_vconf_rule.xml

index 9729dff..c90023b 100644 (file)
@@ -181,8 +181,10 @@ TEST_F(VconfPluginTest, VconfStr)
 TEST_F(VconfPluginTest, callbackPluginVconf)
 {
        int oldVal = 0;
-       vconf_get_int("db/setting/psmode", &oldVal);
-       int ret = plugin->setChangedCallback(valChangedCb, "db.setting.psmode", nullptr);
+       int ret = vconf_get_int("db/setting/psmode", &oldVal);
+       EXPECT_EQ(ret, 0);
+
+       ret = plugin->setChangedCallback(valChangedCb, "db.setting.psmode", nullptr);
        EXPECT_EQ(ret, MODES_ERROR_NONE);
        g_idle_add(changedCallbackidler, nullptr);
        g_main_loop_run(loop);
index 0f1c396..836d74e 100644 (file)
@@ -5,6 +5,5 @@
     <action rule="vconf.db.setting.sound.vibration_on">1</action>
     <action rule="vconf.db.location.setting.Usemylocation">1</action>
     <action rule="vconf.db.setting.auto_rotate_screen">1</action>
-    <action rule="vconf.db.bluetooth.status">VCONFKEY_BT_STATUS_ON</action>
   </mode>
 </tizenModes>
index 60fc32a..2d36876 100644 (file)
       <desc>test</desc>
       <domain>System</domain>
     </rule>
-    <rule name="vconf.db.bluetooth.status" type="int" since="6.0" plugin="vconf">
-      <alias name="VCONFKEY_BT_STATUS_OFF">0</alias>
-      <alias name="VCONFKEY_BT_STATUS_ON">1</alias>
-      <alias name="VCONFKEY_BT_STATUS_BT_VISIBLE">2</alias>
-      <alias name="VCONFKEY_BT_STATUS_TRANSFER">4</alias>
-      <desc>test</desc>
-      <domain>Network &amp; Connectivity</domain>
-    </rule>
     <rule name="vconf.db.setting.sound.sound_on" type="bool" since="6.0" plugin="vconf">
       <desc>test</desc>
       <domain>Multimedia</domain>