diff --git a/permissionse/libs/hidden-apis-stub/src/main/java/android/app/AppOpsManager.java b/permissionse/libs/hidden-apis-stub/src/main/java/android/app/AppOpsManager.java index 0343312b65f9566ec421bd82001b4d04e69ba57d..753b4568b5dada2b67988c9919825a438f1e930f 100644 --- a/permissionse/libs/hidden-apis-stub/src/main/java/android/app/AppOpsManager.java +++ b/permissionse/libs/hidden-apis-stub/src/main/java/android/app/AppOpsManager.java @@ -30,8 +30,8 @@ public class AppOpsManager { @TargetApi(29) @DeprecatedSinceApi( - api = 33, - message = "Check disponibility in SDK33" + api = 34, + message = "Check disponibility in SDK34" ) public static int strOpToOp(@NonNull String op) { return 0; @@ -39,8 +39,8 @@ public class AppOpsManager { @TargetApi(29) @DeprecatedSinceApi( - api = 33, - message = "Check disponibility in SDK33" + api = 34, + message = "Check disponibility in SDK34" ) public void setMode(int code, int uid, String packageName, int mode) {} } diff --git a/permissionse/libs/hidden-apis-stub/src/main/java/android/content/pm/PackageManager.java b/permissionse/libs/hidden-apis-stub/src/main/java/android/content/pm/PackageManager.java index b7209efdd662dc90b7ef3f308c1dd80f507718b4..3f232bfa5d8627a7432def150d2873374aac8413 100644 --- a/permissionse/libs/hidden-apis-stub/src/main/java/android/content/pm/PackageManager.java +++ b/permissionse/libs/hidden-apis-stub/src/main/java/android/content/pm/PackageManager.java @@ -34,8 +34,8 @@ public abstract class PackageManager { @TargetApi(29) @DeprecatedSinceApi( - api = 33, - message = "Check disponibility in SDK33" + api = 34, + message = "Check disponibility in SDK34" ) @RequiresPermission("android.permission.GRANT_RUNTIME_PERMISSIONS") public abstract void grantRuntimePermission( @@ -46,8 +46,8 @@ public abstract class PackageManager { @TargetApi(29) @DeprecatedSinceApi( - api = 33, - message = "Check disponibility in SDK33" + api = 34, + message = "Check disponibility in SDK34" ) @RequiresPermission("android.permission.REVOKE_RUNTIME_PERMISSIONS") public abstract void revokeRuntimePermission( @@ -58,8 +58,8 @@ public abstract class PackageManager { @TargetApi(29) @DeprecatedSinceApi( - api = 33, - message = "Check disponibility in SDK33" + api = 34, + message = "Check disponibility in SDK34" ) @RequiresPermission("android.permission.INTERACT_ACROSS_USERS_FULL") public abstract List getInstalledPackagesAsUser(int flags, int userId); diff --git a/permissionse/libs/hidden-apis-stub/src/main/java/android/content/pm/UserInfo.java b/permissionse/libs/hidden-apis-stub/src/main/java/android/content/pm/UserInfo.java index 9418197019ae9df686f02e1ddb4f39e6302c6c65..28a3732fe2620145379003041d3392ba37a756e7 100644 --- a/permissionse/libs/hidden-apis-stub/src/main/java/android/content/pm/UserInfo.java +++ b/permissionse/libs/hidden-apis-stub/src/main/java/android/content/pm/UserInfo.java @@ -27,8 +27,8 @@ public class UserInfo { @TargetApi(29) @DeprecatedSinceApi( - api = 33, - message = "Check availability in SDK33" + api = 34, + message = "Check availability in SDK34" ) public UserHandle getUserHandle() { return null; diff --git a/permissionse/libs/hidden-apis-stub/src/main/java/android/net/VpnManager.java b/permissionse/libs/hidden-apis-stub/src/main/java/android/net/VpnManager.java index bdb9e956e4cd4de63939341c0460e5af4e5a847d..dab2173734325a6f7af9478463c6743e760af840 100644 --- a/permissionse/libs/hidden-apis-stub/src/main/java/android/net/VpnManager.java +++ b/permissionse/libs/hidden-apis-stub/src/main/java/android/net/VpnManager.java @@ -30,8 +30,8 @@ public class VpnManager { @TargetApi(31) @DeprecatedSinceApi( - api = 33, - message = "Check disponibility in SDK33" + api = 34, + message = "Check disponibility in SDK34" ) public boolean prepareVpn( @Nullable String oldPackage, @@ -43,8 +43,8 @@ public class VpnManager { @TargetApi(31) @DeprecatedSinceApi( - api = 33, - message = "Check disponibility in SDK33" + api = 34, + message = "Check disponibility in SDK34" ) public void setVpnPackageAuthorization( String packageName, @@ -54,8 +54,8 @@ public class VpnManager { @TargetApi(31) @DeprecatedSinceApi( - api = 33, - message = "Check disponibility in SDK33" + api = 34, + message = "Check disponibility in SDK34" ) @RequiresPermission("android.permission.CONTROL_ALWAYS_ON_VPN") public String getAlwaysOnVpnPackageForUser(int userId) { diff --git a/permissionse/libs/hidden-apis-stub/src/main/java/android/os/UserManager.java b/permissionse/libs/hidden-apis-stub/src/main/java/android/os/UserManager.java index d2e80d4202be763b31ad13e84edfc6cf5f43cd89..be6797edcf38acca62335c3ec74d3dad0ad47fbb 100644 --- a/permissionse/libs/hidden-apis-stub/src/main/java/android/os/UserManager.java +++ b/permissionse/libs/hidden-apis-stub/src/main/java/android/os/UserManager.java @@ -28,8 +28,8 @@ public class UserManager { @TargetApi(29) @DeprecatedSinceApi( - api = 33, - message = "Check availability in SDK33" + api = 34, + message = "Check availability in SDK34" ) @RequiresPermission("android.permission.MANAGE_USERS") public List getProfiles(int userHandle) { @@ -38,8 +38,8 @@ public class UserManager { @TargetApi(29) @DeprecatedSinceApi( - api = 33, - message = "Check availability in SDK33" + api = 34, + message = "Check availability in SDK34" ) @RequiresPermission("android.permission.MANAGE_USERS") public boolean isManagedProfile(int userId) { 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 c2e3e2c5bffab9809c1381220cf48b30b9ef6ed3..cde4afbaef8a9c4648aef89c57234f93c898d28f 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") }