From 836f0bca1f414cb5f9acefdcf69e988d5f13497a Mon Sep 17 00:00:00 2001 From: jevalen4868 Date: Wed, 19 Sep 2018 19:29:20 -0500 Subject: [PATCH] Fix: PackageManager.remove() no longer calls Bash.quote() fixing remove of apk from device. --- src/se/vidstige/jadb/managers/PackageManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/se/vidstige/jadb/managers/PackageManager.java b/src/se/vidstige/jadb/managers/PackageManager.java index c309994..07e8a26 100644 --- a/src/se/vidstige/jadb/managers/PackageManager.java +++ b/src/se/vidstige/jadb/managers/PackageManager.java @@ -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); }