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

Commit cd352084 authored by philz-cwm6's avatar philz-cwm6
Browse files

always do a clean reboot

Change-Id: I576c054dc5ab6a080e499f26c8cb2a66ecb8ae42
parent 358d4f04
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -479,8 +479,7 @@ static int input_callback(int fd, short revents, void *data)
    }

    if (ev.value > 0 && device_reboot_now(key_pressed, ev.code)) {
        vold_unmount_all();
        android_reboot(ANDROID_RB_RESTART, 0, 0);
        reboot_main_system(ANDROID_RB_RESTART, 0, 0);
    }

    return 0;