Skip to content

Commit d3d42ed

Browse files
committed
fixup! feat: add rust client for the android interop application.
1 parent 219ac83 commit d3d42ed

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

interop/src/clients/corecrypto/android.rs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,10 @@ impl SimulatorDriver {
8282
.output()
8383
.expect("Failed to launch application");
8484

85-
let pid = String::from_utf8(pidof.stdout).expect("pidof output is not valid utf8").trim().to_string();
85+
let pid = String::from_utf8(pidof.stdout)
86+
.expect("pidof output is not valid utf8")
87+
.trim()
88+
.to_string();
8689
log::info!("retrieved {} pid", pid);
8790

8891
// Start monitoring the system output of our application
@@ -206,7 +209,10 @@ impl CoreCryptoAndroidClient {
206209
.output()
207210
.expect("Failed to get connected android device");
208211

209-
let device = String::from_utf8(output.stdout).expect("output is not valid utf8").trim().to_string();
212+
let device = String::from_utf8(output.stdout)
213+
.expect("output is not valid utf8")
214+
.trim()
215+
.to_string();
210216
let driver = SimulatorDriver::new(device, "com.wire.androidinterop".into());
211217
log::info!("initialising core crypto with ciphersuite {}", ciphersuite);
212218
driver

0 commit comments

Comments
 (0)