Review of suspend/unsuspend APIs
Clarified the package extras bundle returned from getSuspendedPackageAppExtras. Moved the bundle arg to the last in LauncherApps.onPackagesSuspended and clarified the contents of the Bundle. isPackageSuspended(String) now throws a NameNotFoundException if the package is not found. Also, removed a permission check from isPackageSuspendedForUser. Test: builds, boots, existing tests: atest com.android.server.pm.SuspendPackagesTest Bug: 77518983, 77517955, 77507744, 77801528 Change-Id: I06b5f69f8f8a079c206863cb6122e90be58366cd
Loading
Please register or sign in to comment