Remove exclusive type in mode xml files
authorJinWang An <jinwang.an@samsung.com>
Mon, 24 Feb 2020 05:09:22 +0000 (14:09 +0900)
committerYoungjae Shin <yj99.shin@samsung.com>
Thu, 19 Mar 2020 04:30:37 +0000 (13:30 +0900)
unittests/mode/tizen_Power-Save_mode.xml
unittests/mode/tizen_Water-Lock_mode.xml
unittests/mode/tizen_btAudioConnect_mode.xml
unittests/mode/tizen_btOff_mode.xml
unittests/mode/tizen_btOn_mode.xml
unittests/mode/tizen_displayBlock_mode.xml

index d75f770..a113a2e 100644 (file)
@@ -1,13 +1,13 @@
 <?xml version="1.0" encoding="utf-8"?>
 <tizenModes xmlns="http://www.tizen.org" version="6.0">
-  <mode name="Power-Save" type="exclusive">
-    <action rule="pkg.startSupportMode">ULTRA_POWER_SAVING</action>
-    <action rule="wifi.power">off</action>
-    <action rule="bluetooth.power">off</action>
-    <action rule="display.brightness">30</action>
-    <action rule="vconf.db.setting.sound.sound_on">0</action>
-    <action rule="vconf.db.setting.sound.vibration_on">0</action>
-    <action rule="vconf.db.location.setting.Usemylocation">0</action>
-    <action rule="vconf.db.setting.menuscreen.package_name">org.tizen.menu-screen</action>
+  <mode name="Power-Save" type="normal">
+    <action rule="pkg.startSupportMode" restrict="lock">ULTRA_POWER_SAVING</action>
+    <action rule="wifi.power" restrict="lock">off</action>
+    <action rule="bluetooth.power" restrict="lock">off</action>
+    <action rule="display.brightness" restrict="lock">30</action>
+    <action rule="vconf.db.setting.sound.sound_on" restrict="lock">0</action>
+    <action rule="vconf.db.setting.sound.vibration_on" restrict="lock">0</action>
+    <action rule="vconf.db.location.setting.Usemylocation" restrict="lock">0</action>
+    <action rule="vconf.db.setting.menuscreen.package_name" restrict="lock">org.tizen.menu-screen</action>
   </mode>
 </tizenModes>
index b2da07c..d499433 100644 (file)
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="utf-8"?>
 <tizenModes xmlns="http://www.tizen.org" version="6.0">
-  <mode name="Water-Lock" type="exclusive">
-    <action rule="vconf.db.setting.sound.sound_on">false</action>
-    <action rule="vconf.db.setting.sound.vibration_on">true</action>
+  <mode name="Water-Lock" type="normal">
+    <action rule="vconf.db.setting.sound.sound_on" restrict="lock">false</action>
+    <action rule="vconf.db.setting.sound.vibration_on" restrict="lock">true</action>
     <undo rule="media.player">/opt/usr/data/settings/Alarms/Alarms_on_call.ogg</undo>
   </mode>
 </tizenModes>
index d45e639..6359800 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <tizenModes xmlns="http://www.tizen.org" version="6.0">
-  <mode name="btAudioConnect" type="exclusive">
-    <action rule="bluetooth.power">on</action>
-    <action rule="bluetooth.audioConnect">08:AE:D6:5E:AE:16</action>
+  <mode name="btAudioConnect" type="normal">
+    <action rule="bluetooth.power" restrict="lock">on</action>
+    <action rule="bluetooth.audioConnect" restrict="lock">08:AE:D6:5E:AE:16</action>
   </mode>
 </tizenModes>
index 0c29375..5d3d3b1 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <tizenModes xmlns="http://www.tizen.org" version="6.0">
-  <mode name="btOff" type="exclusive">
-    <action rule="bluetooth.power">off</action>
+  <mode name="btOff" type="normal">
+    <action rule="bluetooth.power" restrict="lock">off</action>
   </mode>
 </tizenModes>
index 14ee9e2..40e64a3 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <tizenModes xmlns="http://www.tizen.org" version="6.0">
-  <mode name="btOn" type="exclusive">
-    <action rule="bluetooth.power">on</action>
+  <mode name="btOn" type="normal">
+    <action rule="bluetooth.power" restrict="lock">on</action>
   </mode>
 </tizenModes>
index 37b999a..4ddd334 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <tizenModes xmlns="http://www.tizen.org" version="6.0">
-  <mode name="displayBlock" type="exclusive">
-    <action rule="display.timeout">ALWAYS_ON</action>
-    <action rule="display.allowPalmTouch">off</action>
+  <mode name="displayBlock" type="normal">
+    <action rule="display.timeout" restrict="lock">ALWAYS_ON</action>
+    <action rule="display.allowPalmTouch" restrict="lock">off</action>
   </mode>
 </tizenModes>