Shared Storage optional setting
This commit is contained in:
@ -32,7 +32,6 @@ import java.sql.Timestamp;
|
||||
import java.text.CharacterIterator;
|
||||
import java.text.StringCharacterIterator;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Comparator;
|
||||
import java.util.ConcurrentModificationException;
|
||||
import java.util.List;
|
||||
@ -56,7 +55,8 @@ public class Transfer {
|
||||
public static Integer port;
|
||||
public static String root;
|
||||
public static String protocol;
|
||||
public static String local_storage;
|
||||
public static String shared_storage;
|
||||
public static boolean use_shared_storage;
|
||||
|
||||
public static Activity activity;
|
||||
|
||||
@ -65,7 +65,6 @@ public class Transfer {
|
||||
public int drawable;
|
||||
public String info;
|
||||
public String message;
|
||||
public String error;
|
||||
|
||||
public String sizeSI;
|
||||
|
||||
@ -127,7 +126,8 @@ public class Transfer {
|
||||
|
||||
host = prefs.getString("host", null);
|
||||
root = prefs.getString("root", null);
|
||||
local_storage = prefs.getString("local_storage", null);
|
||||
shared_storage = prefs.getString("shared_storage", null);
|
||||
use_shared_storage = prefs.getBoolean("use_shared_storage", false);
|
||||
if(prefs.getBoolean("protocol", false))
|
||||
protocol = "https";
|
||||
else
|
||||
|
Reference in New Issue
Block a user