Merge pull request #106 from jevalen4868/bugfix-double-quoting-issue-105

Fix: PackageManager.remove() no longer calls Bash.quote() fixing remove of apk from device.
This commit is contained in:
Samuel Carlsson 2018-09-20 10:09:57 +02:00 committed by GitHub
commit e985821fd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ public class PackageManager {
}
private void remove(RemoteFile file) throws IOException, JadbException {
InputStream s = device.executeShell("rm", "-f", Bash.quote(file.getPath()));
InputStream s = device.executeShell("rm", "-f", file.getPath());
Stream.readAll(s, StandardCharsets.UTF_8);
}