On Linux, the following is valid:
QProcess::execute("/bin/busybox reboot -f");
QProcess::execute("reboot");
But it doesn't work on Android.
After I use the adb tools to test, (adb shell reboot)the restart is effective
On Linux, the following is valid:
QProcess::execute("/bin/busybox reboot -f");
QProcess::execute("reboot");
But it doesn't work on Android.
After I use the adb tools to test, (adb shell reboot)the restart is effective