diff --git a/src/main/java/org/kde/kdeconnect/Plugins/SftpPlugin/SftpPlugin.java b/src/main/java/org/kde/kdeconnect/Plugins/SftpPlugin/SftpPlugin.java index 50f6609a..eee7bf9a 100644 --- a/src/main/java/org/kde/kdeconnect/Plugins/SftpPlugin/SftpPlugin.java +++ b/src/main/java/org/kde/kdeconnect/Plugins/SftpPlugin/SftpPlugin.java @@ -16,7 +16,7 @@ public class SftpPlugin extends Plugin { private static final SimpleSftpServer server = new SimpleSftpServer(); /*static { - PluginFactory.registerPlugin(BatteryPlugin.class); + PluginFactory.registerPlugin(SftpPlugin.class); }*/ @Override @@ -54,7 +54,7 @@ public class SftpPlugin extends Plugin { @Override public boolean onPackageReceived(NetworkPackage np) { if (!np.getType().equals(NetworkPackage.PACKAGE_TYPE_SFTP)) return false; -// + if (np.getBoolean("startBrowsing")) { if (server.start()) { NetworkPackage np2 = new NetworkPackage(NetworkPackage.PACKAGE_TYPE_SFTP); diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index 02a5410f..977cae1b 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -5,8 +5,8 @@ Send notifications for SMS and calls Battery report Periodically report battery status - SFTP access - Possibility to browse filesystem through SFTP + Filesystem expose + Allows to browse the phone\'s filesystem remotely Clipboard sync Share the clipboard content Multimedia remote controls