目前的使用方法為su -c "reboot"
,但是必須要有su
的權限
1 | try { |
Method 1 : adb
su -c "reboot"
toolbox reboot
reboot -d 8 -f
busybox killall system_server
start|stop
Method 2 : PowerManager
1 | 8) ( |
Source:
目前的使用方法為su -c "reboot"
,但是必須要有su
的權限
1 | try { |
su -c "reboot"
toolbox reboot
reboot -d 8 -f
busybox killall system_server
start|stop
1 | 8) ( |
Source: