diff options
author | Abhishek Aggarwal <warabhishek@e.email> | 2023-03-15 11:21:21 +0000 |
---|---|---|
committer | Abhishek Aggarwal <warabhishek@e.email> | 2023-03-15 11:21:21 +0000 |
commit | 2319d25d0dccfc4633ea6026068272baab182fef (patch) | |
tree | c618071cc55d098e6ea21dccc95d9ccab0158c94 /permissionse/src/main | |
parent | 6a4fadb5d14a0fe2a53368143f45a5d43f07f048 (diff) | |
parent | b416e206f2ed36bf27f049b3ebfb18924b4c7e56 (diff) |
Merge branch '1099-main-t_support' into 'main'
AdvancedPrivacy: Add support for sdk 33
See merge request e/os/advanced-privacy!117
Diffstat (limited to 'permissionse/src/main')
-rw-r--r-- | permissionse/src/main/java/foundation/e/privacymodules/permissions/PermissionsPrivacyModule.kt | 6 |
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") } |