From a66c843bdc0219931ca37584ad27f65c270cfc09 Mon Sep 17 00:00:00 2001 From: EmmanuelMess Date: Sat, 19 Feb 2022 20:59:19 -0300 Subject: [PATCH] Fix a small test of SshFilesystemAmaze --- .../amaze/filemanager/filesystem/ssh/SshAmazeFilesystem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/amaze/filemanager/filesystem/ssh/SshAmazeFilesystem.java b/app/src/main/java/com/amaze/filemanager/filesystem/ssh/SshAmazeFilesystem.java index 73eeba6b65..815fbab96a 100644 --- a/app/src/main/java/com/amaze/filemanager/filesystem/ssh/SshAmazeFilesystem.java +++ b/app/src/main/java/com/amaze/filemanager/filesystem/ssh/SshAmazeFilesystem.java @@ -167,7 +167,7 @@ public boolean canRead(AmazeFile f, @NonNull ContextProvider contextProvider) { throw new NotImplementedError(); } public boolean canAccess(AmazeFile f, @NonNull ContextProvider contextProvider) { - throw new NotImplementedError(); + return exists(f, contextProvider); } public boolean setExecutable(AmazeFile f, boolean enable, boolean owneronly) {