Advertisement
Guest User

Untitled

a guest
Sep 20th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.54 KB | None | 0 0
  1. --- a/xplat/sonar/src/utils/androidContainerUtilityInternal.tsx Fri Sep 20 14:02:56 2019 +0100
  2. +++ b/xplat/sonar/src/utils/androidContainerUtilityInternal.tsx Fri Sep 20 14:19:10 2019 +0100
  3. @@ -76,9 +76,7 @@
  4.    command: string,
  5.  ): Promise<string> {
  6.    return getAdbClient()
  7. -    .then(client =>
  8. -      client.shell(deviceId, `echo '${command}' | run-as '${app}'`),
  9. -    )
  10. +    .then(client => client.shell(deviceId, `echo '${command}' | su`))
  11.      .then(adbkit.util.readAll)
  12.      .then(buffer => buffer.toString())
  13.      .then(output => {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement