From afce891f53f3c13de3d6fbb7bf26e007391031f8 Mon Sep 17 00:00:00 2001 From: ttmx Date: Sat, 24 May 2025 03:10:30 +0100 Subject: [PATCH] Fix JSDoc for device.reboot() --- src/adb/DeviceClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adb/DeviceClient.ts b/src/adb/DeviceClient.ts index 0e3f1719..e7864c61 100644 --- a/src/adb/DeviceClient.ts +++ b/src/adb/DeviceClient.ts @@ -228,7 +228,7 @@ export default class DeviceClient { } /** - * Puts the device into root mode which may be needed by certain shell commands. A remount is generally required after a successful root call. **Note that this will only work if your device supports this feature. Production devices almost never do.** + * Reboots the device. Similar to adb reboot. Note that the method resolves when ADB reports that the device has been rebooted (i.e. the reboot command was successful), not when the device becomes available again. * * @return true */