Add userspace reboot

This commit is contained in:
vvb2060
2020-10-15 02:00:10 +08:00
committed by John Wu
parent 3fa3426032
commit 2760f37e6b
3 changed files with 17 additions and 4 deletions
+9 -4
View File
@@ -5,6 +5,15 @@
android:id="@+id/action_reboot_normal"
android:title="@string/reboot" />
<item
android:id="@+id/action_reboot_userspace"
android:title="@string/reboot_userspace"
android:visible="false" />
<item
android:id="@+id/action_reboot_recovery"
android:title="@string/reboot_recovery" />
<item
android:id="@+id/action_reboot_bootloader"
android:title="@string/reboot_bootloader" />
@@ -17,8 +26,4 @@
android:id="@+id/action_reboot_edl"
android:title="@string/reboot_edl" />
<item
android:id="@+id/action_reboot_recovery"
android:title="@string/reboot_recovery" />
</menu>
+1
View File
@@ -109,6 +109,7 @@
<!--Module -->
<string name="no_info_provided">(No info provided)</string>
<string name="reboot_userspace">Soft reboot</string>
<string name="reboot_recovery">Reboot to Recovery</string>
<string name="reboot_bootloader">Reboot to Bootloader</string>
<string name="reboot_download">Reboot to Download</string>