From b416e206f2ed36bf27f049b3ebfb18924b4c7e56 Mon Sep 17 00:00:00 2001 From: TheScarastic Date: Thu, 2 Mar 2023 09:21:56 +0000 Subject: AdvancedPrivacy: Add support for sdk 33 --- .../src/main/java/android/app/AppOpsManager.java | 8 ++++---- .../src/main/java/android/content/pm/PackageManager.java | 12 ++++++------ .../src/main/java/android/content/pm/UserInfo.java | 4 ++-- .../src/main/java/android/net/VpnManager.java | 12 ++++++------ .../src/main/java/android/os/UserManager.java | 8 ++++---- 5 files changed, 22 insertions(+), 22 deletions(-) (limited to 'permissionse/libs/hidden-apis-stub') 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 0343312..753b456 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 b7209ef..3f232bf 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 9418197..28a3732 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 bdb9e95..dab2173 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 d2e80d4..be6797e 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) { -- cgit v1.2.1