Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit be4fc95e authored by Pavel Grafov's avatar Pavel Grafov
Browse files

Preserve unsuspend behavior

When admin unsuspends packages, pass the whole set to PackageManager,
not just those that the admin previously suspended. This preserves
behavior in case of nonexistent packages.

Bug: 378766314
Flag: android.app.admin.flags.unsuspend_not_suspended
Test: atest CtsDevicePolicyTestCases:android.devicepolicy.cts.PackageSuspensionTest#setPackagesSuspended_unsuspendNonexistentPackage_remainUnuspended[IncludeRunOnProfileOwnerPrimaryUser]
Change-Id: Ibebd47d34f9f56e61cc2d11fd92ebcd3494deab6
parent f53f7712
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment