summaryrefslogtreecommitdiffstats
path: root/gui/theme/common/watch.xml
diff options
context:
space:
mode:
authorbigbiff bigbiff <bigbiff@teamw.in>2019-01-09 02:06:57 +0100
committerDees Troy <dees_troy@teamw.in>2019-03-18 04:49:38 +0100
commit19874f14699edf411951a62f5ac880ca6a84d824 (patch)
tree30257d8752e5ecdc3883b7b582c93d866aa11a07 /gui/theme/common/watch.xml
parentVibration: allow BoardConfig to disable vibration for a device. (diff)
downloadandroid_bootable_recovery-19874f14699edf411951a62f5ac880ca6a84d824.tar
android_bootable_recovery-19874f14699edf411951a62f5ac880ca6a84d824.tar.gz
android_bootable_recovery-19874f14699edf411951a62f5ac880ca6a84d824.tar.bz2
android_bootable_recovery-19874f14699edf411951a62f5ac880ca6a84d824.tar.lz
android_bootable_recovery-19874f14699edf411951a62f5ac880ca6a84d824.tar.xz
android_bootable_recovery-19874f14699edf411951a62f5ac880ca6a84d824.tar.zst
android_bootable_recovery-19874f14699edf411951a62f5ac880ca6a84d824.zip
Diffstat (limited to '')
-rwxr-xr-xgui/theme/common/watch.xml19
1 files changed, 18 insertions, 1 deletions
diff --git a/gui/theme/common/watch.xml b/gui/theme/common/watch.xml
index d36bb2d5a..56bdc5534 100755
--- a/gui/theme/common/watch.xml
+++ b/gui/theme/common/watch.xml
@@ -706,6 +706,7 @@
<template name="console"/>
<button style="main_button_half_height">
+ <condition var1="tw_ab_device" var2="0"/>
<placement x="%col1_x_left%" y="%row13_y%"/>
<text>{@wipe_cache_dalvik_btn=Wipe cache/dalvik}</text>
<actions>
@@ -718,7 +719,23 @@
<action function="set">tw_text1={@wipe_cache_dalvik_confirm=Wipe Cache &amp; Dalvik?}</action>
<action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Cache &amp; Dalvik...}</action>
<action function="set">tw_complete_text1={@wipe_cache_dalvik_complete=Cache &amp; Dalvik Wipe Complete}</action>
- <action function="set">tw_slider_text={@swipe_wipe_s= Wipe}</action>
+ <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
+ <action function="page">confirm_action</action>
+ </actions>
+ </button>
+
+ <button style="main_button_half_height">
+ <condition var1="tw_ab_device" var2="1"/>
+ <placement x="%indent%" y="%row21a_y%"/>
+ <text>{@wipe_dalvik_btn=Wipe Dalvik}</text>
+ <actions>
+ <action function="set">tw_back=flash_done</action>
+ <action function="set">tw_action=wipe</action>
+ <action function="set">tw_action_param=dalvik</action>
+ <action function="set">tw_text1={@wipe_dalvik_confirm=Wipe Dalvik?}</action>
+ <action function="set">tw_action_text1={@wiping_cache_dalvik=Wiping Dalvik...}</action>
+ <action function="set">tw_complete_text1={@wipe_dalvik_complete=Dalvik Wipe Complete}</action>
+ <action function="set">tw_slider_text={@swipe_wipe=Swipe to Wipe}</action>
<action function="page">confirm_action</action>
</actions>
</button>