Remove MANAGE_USERS from setPackagesSuspended
MANAGE_USERS is a widely used permission and setPackagesSuspended is a dangerous API. Also having a lot of apps which can use the api can lead to complications like them suspending each other. Test: Existing tests with SUSPEND_APPS pass: atest com.android.server.pm.SuspendPackagesTest Existing permission tests without SUSPEND_APPS pass: atest GtsSuspendAppsPermissionTestCases Bug: 79773970 Change-Id: I49d81c0254c6ba528c50ece960a0db277c0afd7f
Loading
Please register or sign in to comment