Skip to content

Commit

Permalink
feat(android): print string version of output for screenrecorder, not…
Browse files Browse the repository at this point in the history
… decimal (#846)
  • Loading branch information
Malinskiy authored Sep 27, 2023
1 parent 6601719 commit 230315c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,8 @@ class AdamAndroidDevice(
val screenRecorderCommand = options.toScreenRecorderCommand(remoteFilePath)
try {
withTimeoutOrNull(androidConfiguration.timeoutConfiguration.screenrecorder) {
val output = client.execute(ShellCommandRequest(screenRecorderCommand), serial = adbSerial)
logger.debug { "screenrecord output:\n $output" }
val result = client.execute(ShellCommandRequest(screenRecorderCommand), serial = adbSerial)
logger.debug { "screenrecord output:\n ${result.output},\n exit code: ${result.exitCode}" }
}
} catch (e: CancellationException) {
//Ignore
Expand Down

0 comments on commit 230315c

Please sign in to comment.