setPackagesSuspended now overwrites all the state
Earlier setPackagesSuspended ignored the rest of the paramters when suspend state did not change. This was a problem because then there was no good way to update the other parameters without unsuspending the app, which is not desirable. Removed setSuspendedPackageAppExtras as now they can be update with this api. Also sending broadcasts when packages get unsuspended due to suspending package removed. Test: Existing tests pass: atest com.android.server.pm.PackageUserStateTest atest com.android.server.pm.SuspendPackagesTest atest com.android.server.pm.PackageManagerSettingsTests Bug: 77522553 Change-Id: I72a3c228d3d65c430e242da97b2bc6997ec6a135
Loading
Please register or sign in to comment