Support power key on slideout
Change-Id: Ic1cba57b6d0fbefee2391d06d140da9e4e3dbb32
diff --git a/gui/theme/common/landscape.xml b/gui/theme/common/landscape.xml
index ff5dddd..8ca508f 100644
--- a/gui/theme/common/landscape.xml
+++ b/gui/theme/common/landscape.xml
@@ -4678,6 +4678,11 @@
</button>
<action>
+ <touch key="power"/>
+ <action function="togglebacklight"/>
+ </action>
+
+ <action>
<touch key="power+voldown"/>
<action function="screenshot"/>
</action>
diff --git a/gui/theme/common/portrait.xml b/gui/theme/common/portrait.xml
index 133d555..fd35364 100644
--- a/gui/theme/common/portrait.xml
+++ b/gui/theme/common/portrait.xml
@@ -4759,6 +4759,11 @@
</button>
<action>
+ <touch key="power"/>
+ <action function="togglebacklight"/>
+ </action>
+
+ <action>
<touch key="power+voldown"/>
<action function="screenshot"/>
</action>
diff --git a/gui/theme/common/watch.xml b/gui/theme/common/watch.xml
index 40ebb8e..6a7e6eb 100644
--- a/gui/theme/common/watch.xml
+++ b/gui/theme/common/watch.xml
@@ -5363,6 +5363,11 @@
</button>
<action>
+ <touch key="power"/>
+ <action function="togglebacklight"/>
+ </action>
+
+ <action>
<touch key="power+voldown"/>
<action function="screenshot"/>
</action>