mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-26 06:11:19 +00:00
parent
b45446a4ae
commit
abd8e9bc2f
1 changed files with 7 additions and 1 deletions
|
@ -20,7 +20,7 @@ public class Folder {
|
||||||
public String type = Constants.FOLDER_TYPE_SEND_RECEIVE;
|
public String type = Constants.FOLDER_TYPE_SEND_RECEIVE;
|
||||||
public boolean fsWatcherEnabled = true;
|
public boolean fsWatcherEnabled = true;
|
||||||
public int fsWatcherDelayS = 10;
|
public int fsWatcherDelayS = 10;
|
||||||
private List<Device> devices = new ArrayList<>();
|
private List<Folder.Device> devices = new ArrayList<>();
|
||||||
public int rescanIntervalS;
|
public int rescanIntervalS;
|
||||||
public final boolean ignorePerms = true;
|
public final boolean ignorePerms = true;
|
||||||
public boolean autoNormalize = true;
|
public boolean autoNormalize = true;
|
||||||
|
@ -80,4 +80,10 @@ public class Folder {
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return !TextUtils.isEmpty(label) ? label : id;
|
return !TextUtils.isEmpty(label) ? label : id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public class Device {
|
||||||
|
public String deviceID;
|
||||||
|
public String introducedBy;
|
||||||
|
public String encryptionPassword;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue