Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasper-Bekkers committed Aug 30, 2022
1 parent bcf24ea commit f0988fc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ndk-build/src/apk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@ impl Apk {
return Err(NdkError::CmdFailed(am_start));
}

let pid_vec = self.shell(&device_name)?
let pid_vec = self
.shell(&device_name)?
.arg("pidof")
.arg(&self.package_name)
.output()?
Expand All @@ -217,7 +218,7 @@ impl Apk {
Ok(())
}

fn shell(&self, device_name: &Option<String>) -> Result<Command, NdkError> {
fn shell(&self, device_name: &Option<String>) -> Result<Command, NdkError> {
let mut adb = self.ndk.platform_tool(bin!("adb"))?;

if let Some(device_name) = device_name {
Expand Down

0 comments on commit f0988fc

Please sign in to comment.