enable some preferences by default and termux to applist

This commit is contained in:
Cuynu 2024-09-25 16:18:32 +00:00
commit f592cb40f5

View file

@ -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) {