TWRP Install Reboot Option
This is a simple patch to allow users to reboot
after installation of zip queue. Current timeout
is 5 seconds before reboot.
Change-Id: I1a18cbf7025086e35031ab7241b330babebb8343
diff --git a/gui/theme/common/portrait.xml b/gui/theme/common/portrait.xml
index 0ac2dfb..03e3982 100644
--- a/gui/theme/common/portrait.xml
+++ b/gui/theme/common/portrait.xml
@@ -386,8 +386,14 @@
</checkbox>
<checkbox>
+ <placement x="%indent%" y="%row13a_y%" />
+ <text>{@install_reboot_chk=Reboot after installation is complete}</text>
+ <data variable="tw_install_reboot" />
+ </checkbox>
+
+ <checkbox>
<condition var1="tw_has_injecttwrp" var2="1"/>
- <placement x="%indent%" y="%row13_y%"/>
+ <placement x="%indent%" y="%row15_y%"/>
<text>{@inject_twrp_chk=Inject TWRP after install}</text>
<data variable="tw_inject_after_zip"/>
</checkbox>