summaryrefslogtreecommitdiff
path: root/permissionse/libs/hidden-apis-stub/src/main/java/android
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/libs/hidden-apis-stub/src/main/java/android
parent6a4fadb5d14a0fe2a53368143f45a5d43f07f048 (diff)
AdvancedPrivacy: Add support for sdk 33
Diffstat (limited to 'permissionse/libs/hidden-apis-stub/src/main/java/android')
-rw-r--r--permissionse/libs/hidden-apis-stub/src/main/java/android/app/AppOpsManager.java8
-rw-r--r--permissionse/libs/hidden-apis-stub/src/main/java/android/content/pm/PackageManager.java12
-rw-r--r--permissionse/libs/hidden-apis-stub/src/main/java/android/content/pm/UserInfo.java4
-rw-r--r--permissionse/libs/hidden-apis-stub/src/main/java/android/net/VpnManager.java12
-rw-r--r--permissionse/libs/hidden-apis-stub/src/main/java/android/os/UserManager.java8
5 files changed, 22 insertions, 22 deletions
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<PackageInfo> 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<UserInfo> 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) {