Add folder-device with enc-password (fixes #1673) (#1674)

This commit is contained in:
Simon Frei 2021-07-18 13:06:57 +02:00 committed by GitHub
parent b45446a4ae
commit abd8e9bc2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -20,7 +20,7 @@ public class Folder {
public String type = Constants.FOLDER_TYPE_SEND_RECEIVE;
public boolean fsWatcherEnabled = true;
public int fsWatcherDelayS = 10;
private List<Device> devices = new ArrayList<>();
private List<Folder.Device> devices = new ArrayList<>();
public int rescanIntervalS;
public final boolean ignorePerms = true;
public boolean autoNormalize = true;
@ -80,4 +80,10 @@ public class Folder {
public String toString() {
return !TextUtils.isEmpty(label) ? label : id;
}
public class Device {
public String deviceID;
public String introducedBy;
public String encryptionPassword;
}
}