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 d75f7702120e67f8ed515df441e52f986834decd..a113a2e5125d08661a041078044bb1d7f242b2b8 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 b2da07c2c53dabc8660553d751d71c0e39450736..d499433484c001f58495c236c79674e4624fb557 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 d45e639333a380a894be622cee556e9459890d76..6359800b8803174886012450289d264544d943a1 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 0c29375444006d2c6b8eb53ddbe50afeb2904089..5d3d3b11731291c1a2314602baafbe4fb6d375aa 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 14ee9e299dee4d84d90c9707bcf7e178130cb53e..40e64a376b9a01ac4685400f773d3722d472e4c5 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 37b999a8d605c84626263074f60358c29bc11303..4ddd334df3035b96070015242fe93ce05599e7cd 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>