Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 41928ce6 authored by Nick Kralevich's avatar Nick Kralevich Committed by Gerrit Code Review
Browse files

Merge "Revert "recovery: change the way of rebooting when using power key combo""

parents b48bdbed 4e92ba40
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -174,8 +174,7 @@ void RecoveryUI::ProcessKey(int key_code, int updown) {

          case RecoveryUI::REBOOT:
            if (reboot_enabled) {
                property_set(ANDROID_RB_PROPERTY, "reboot,");
                while(1) { pause(); }
                android_reboot(ANDROID_RB_RESTART, 0, 0);
            }
            break;