Reboot reason VS mode
✅ 核心结论👉PowerManager.reboot(String reason)这个参数名叫 reason,但它绝大多数情况下“不是 reboot reason”,而是“reboot mode / target”/** * Reboot the device. Will not return if the reboot is successful. * p * Requires the {@link android.Manifest.permission#REBOOT} permission. * /p * p * If the {@code reason} string contains ",quiescent", then the screen stays off during reboot * and is not turned on again until the user triggers the device to wake up (for example, * by pressing the power key). * This behavior applies to Android TV devices launched on Android 11 (API level 30) or higher. * /p * * @param reason code to pass to the kernel (e.g., "recovery") to * request special boot modes, or null. * @throws UnsupportedOperationException if userspace reboot was requested on a device that doesn't support it. */ @RequiresPermission(permission.REBOOT) public voi