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