mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-12 01:14:22 -05:00
Remove Invizible from Tor bypass list
since it allows excluding from Tor with "block connections without vpn" enabled see: https://github.com/Gedsh/InviZible/issues/316#issuecomment-2487943497 Signed-off-by: Tavi <tavi@divested.dev>
This commit is contained in:
parent
66cdf9aaf9
commit
93030fd0a2
@ -9,11 +9,11 @@ lockdownAllowlist can be either null or immutable, the latter case wasn't handle
|
||||
|
||||
Change-Id: I62c2553c8877b946d7e7e1ca4ef113f963d3f8eb
|
||||
---
|
||||
.../com/android/server/connectivity/Vpn.java | 44 +++++++++++++++++++
|
||||
1 file changed, 44 insertions(+)
|
||||
.../com/android/server/connectivity/Vpn.java | 46 +++++++++++++++++++
|
||||
1 file changed, 46 insertions(+)
|
||||
|
||||
diff --git a/services/core/java/com/android/server/connectivity/Vpn.java b/services/core/java/com/android/server/connectivity/Vpn.java
|
||||
index 8510de4ef201..b50df46e14dd 100644
|
||||
index 8510de4ef201..f444bc22a026 100644
|
||||
--- a/services/core/java/com/android/server/connectivity/Vpn.java
|
||||
+++ b/services/core/java/com/android/server/connectivity/Vpn.java
|
||||
@@ -47,9 +47,11 @@ import android.content.Intent;
|
||||
@ -52,7 +52,7 @@ index 8510de4ef201..b50df46e14dd 100644
|
||||
+ final String INVIZIBLE_PACKAGE_NAME = "pan.alexander.tordnscrypt.stable";
|
||||
+ final String TOR_VPN_PACKAGE_NAME = "org.torproject.vpn";
|
||||
+ final String TOR_SERVICES_PACKAGE_NAME = "org.torproject.services";
|
||||
+ if (ORBOT_PACKAGE_NAME.equals(packageName) || INVIZIBLE_PACKAGE_NAME.equals(packageName) || TOR_VPN_PACKAGE_NAME.equals(packageName) || TOR_SERVICES_PACKAGE_NAME.equals(packageName)) {
|
||||
+ if (ORBOT_PACKAGE_NAME.equals(packageName) || TOR_VPN_PACKAGE_NAME.equals(packageName) || TOR_SERVICES_PACKAGE_NAME.equals(packageName)) {
|
||||
+ if (lockdownAllowlist == null) {
|
||||
+ lockdownAllowlist = new ArrayList<>();
|
||||
+ Log.i(TAG, "lockdown allowlist was null, created");
|
||||
|
@ -13,7 +13,7 @@ Change-Id: Ie3990a6e789be22da0c7771d85ad71034ed334eb
|
||||
1 file changed, 60 insertions(+)
|
||||
|
||||
diff --git a/packages/LineageSettingsProvider/src/org/lineageos/lineagesettings/LineageDatabaseHelper.java b/packages/LineageSettingsProvider/src/org/lineageos/lineagesettings/LineageDatabaseHelper.java
|
||||
index 829a5e50..f16f2c7a 100644
|
||||
index 829a5e50..60947b9f 100644
|
||||
--- a/packages/LineageSettingsProvider/src/org/lineageos/lineagesettings/LineageDatabaseHelper.java
|
||||
+++ b/packages/LineageSettingsProvider/src/org/lineageos/lineagesettings/LineageDatabaseHelper.java
|
||||
@@ -120,6 +120,66 @@ public class LineageDatabaseHelper extends SQLiteOpenHelper{
|
||||
|
@ -89,7 +89,7 @@ index 12e29e693b..b264bef20a 100644
|
||||
android:id="@+id/private_dns_mode_opportunistic"
|
||||
layout="@layout/preference_widget_dialog_radiobutton"/>
|
||||
diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml
|
||||
index 698965172f..444f2f9131 100644
|
||||
index 698965172f..384608b15f 100644
|
||||
--- a/res/values/cm_strings.xml
|
||||
+++ b/res/values/cm_strings.xml
|
||||
@@ -15,6 +15,52 @@
|
||||
|
Loading…
Reference in New Issue
Block a user