[英]How to check if an Android device can be rebooted programmatically?
I am using a Android device having custom ROM and need to reboot that device.我正在使用具有自定义 ROM 的 Android 设备,需要重新启动该设备。 I am able to reboot the device from hardware side, but I want to programmatically check if the device can be rebooted.我可以从硬件端重启设备,但我想以编程方式检查设备是否可以重启。
Is there any way to do that?有没有办法做到这一点?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.