enable some preferences by default and termux to applist
This commit is contained in:
parent
1c129279a1
commit
f592cb40f5
1 changed files with 4 additions and 4 deletions
|
|
@ -84,7 +84,7 @@ public class Profile {
|
|||
}
|
||||
|
||||
public boolean isPerApp() {
|
||||
return mPref.getBoolean(key("perapp"), false);
|
||||
return mPref.getBoolean(key("perapp"), true);
|
||||
}
|
||||
|
||||
public void setIsPerApp(boolean is) {
|
||||
|
|
@ -92,7 +92,7 @@ public class Profile {
|
|||
}
|
||||
|
||||
public boolean isBypassApp() {
|
||||
return mPref.getBoolean(key("appbypass"), false);
|
||||
return mPref.getBoolean(key("appbypass"), true);
|
||||
}
|
||||
|
||||
public void setIsBypassApp(boolean is) {
|
||||
|
|
@ -100,7 +100,7 @@ public class Profile {
|
|||
}
|
||||
|
||||
public String getAppList() {
|
||||
return mPref.getString(key("applist"), "");
|
||||
return mPref.getString(key("applist"), "com.termux");
|
||||
}
|
||||
|
||||
public void setAppList(String list) {
|
||||
|
|
@ -116,7 +116,7 @@ public class Profile {
|
|||
}
|
||||
|
||||
public boolean hasUDP() {
|
||||
return mPref.getBoolean(key("udp"), false);
|
||||
return mPref.getBoolean(key("udp"), true);
|
||||
}
|
||||
|
||||
public void setHasUDP(boolean has) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue