1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-22 12:21:15 +00:00

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

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;
}
}