summaryrefslogtreecommitdiff
path: root/permissionse/src/main/java/foundation/e/privacymodules
diff options
context:
space:
mode:
authorTheScarastic <warabhishek@e.email>2023-03-02 09:21:56 +0000
committerTheScarastic <warabhishek@e.email>2023-03-15 11:07:06 +0000
commitb416e206f2ed36bf27f049b3ebfb18924b4c7e56 (patch)
treec618071cc55d098e6ea21dccc95d9ccab0158c94 /permissionse/src/main/java/foundation/e/privacymodules
parent6a4fadb5d14a0fe2a53368143f45a5d43f07f048 (diff)
AdvancedPrivacy: Add support for sdk 33
Diffstat (limited to 'permissionse/src/main/java/foundation/e/privacymodules')
-rw-r--r--permissionse/src/main/java/foundation/e/privacymodules/permissions/PermissionsPrivacyModule.kt6
1 files changed, 3 insertions, 3 deletions
diff --git a/permissionse/src/main/java/foundation/e/privacymodules/permissions/PermissionsPrivacyModule.kt b/permissionse/src/main/java/foundation/e/privacymodules/permissions/PermissionsPrivacyModule.kt
index c2e3e2c..cde4afb 100644
--- a/permissionse/src/main/java/foundation/e/privacymodules/permissions/PermissionsPrivacyModule.kt
+++ b/permissionse/src/main/java/foundation/e/privacymodules/permissions/PermissionsPrivacyModule.kt
@@ -92,7 +92,7 @@ class PermissionsPrivacyModule(context: Context) : APermissionsPrivacyModule(con
return when (Build.VERSION.SDK_INT) {
29 -> setVpnPackageAuthorizationSDK29(packageName)
30 -> setVpnPackageAuthorizationSDK30(packageName)
- 31, 32 -> setVpnPackageAuthorizationSDK32(packageName)
+ 31, 32, 33 -> setVpnPackageAuthorizationSDK32(packageName)
else -> {
Log.e("Permissions-e", "Bad android sdk version")
false
@@ -203,7 +203,7 @@ class PermissionsPrivacyModule(context: Context) : APermissionsPrivacyModule(con
override fun getAlwaysOnVpnPackage(): String? {
return when (Build.VERSION.SDK_INT) {
29, 30 -> getAlwaysOnVpnPackageSDK29()
- 31, 32 -> getAlwaysOnVpnPackageSDK32()
+ 31, 32, 33 -> getAlwaysOnVpnPackageSDK32()
else -> {
Log.e("Permissions-e", "Bad android sdk version")
null
@@ -239,7 +239,7 @@ class PermissionsPrivacyModule(context: Context) : APermissionsPrivacyModule(con
override fun setBlockable(notificationChannel: NotificationChannel) {
when (Build.VERSION.SDK_INT) {
29 -> notificationChannel.setBlockableSystem(true)
- 30, 31, 32 -> notificationChannel.setBlockable(true)
+ 30, 31, 32, 33 -> notificationChannel.setBlockable(true)
else -> {
Log.e("Permissions-e", "Bad android sdk version")
}