From b583e620b5da9e63e65519b470e5709596061408 Mon Sep 17 00:00:00 2001 From: harvey186 Date: Sat, 1 Jul 2023 12:59:22 +0200 Subject: [PATCH] advanced_privacy --- permissioncontroller/permission/utils/Utils.java b/PermissionController/src/com/android/permissioncontroller/permission/utils/Utils.java index 48793ab51..050ffe9fc 100644 --- a/PermissionController/src/com/android/permissioncontroller/permission/utils/Utils.java +++ b/PermissionController/src/com/android/permissioncontroller/permission/utils/Utils.java @@ -21,6 +21,7 @@ import static android.Manifest.permission_group.CALENDAR; import static android.Manifest.permission_group.CALL_LOG; import static android.Manifest.permission_group.CAMERA; import static android.Manifest.permission_group.CONTACTS; +import static android.Manifest.permission_group.FAKE_PACKAGE; import static android.Manifest.permission_group.LOCATION; import static android.Manifest.permission_group.MICROPHONE; import static android.Manifest.permission_group.NEARBY_DEVICES; @@ -336,6 +337,8 @@ public final class Utils { PLATFORM_PERMISSIONS.put(Manifest.permission.BODY_SENSORS, SENSORS); + PLATFORM_PERMISSIONS.put(Manifest.permission.FAKE_PACKAGE_SIGNATURE, FAKE_PACKAGE); + if (SdkLevel.isAtLeastT()) { PLATFORM_PERMISSIONS.put(Manifest.permission.POST_NOTIFICATIONS, NOTIFICATIONS); PLATFORM_PERMISSIONS.put(Manifest.permission.BODY_SENSORS_BACKGROUND, SENSORS); -- 2.34.1