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

Skip to content
Commit f974d342 authored by Jeongsik Mun's avatar Jeongsik Mun
Browse files

Add a suspension check to SuspendedAppActivity

ACTION_PACKAGES_SUSPENSION_CHANGED can be delivered without suspension
changes, which ends up finishing SuspendedAppActivity and CTS fails.

This CL adds a check to make sure suspended state changed before
finishing it.

Bug: 245426112
Test: cts-tradefed run cts -m CtsDevicePolicyManagerTestCases -t
      com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testSuspendPackageWithPackageManager
Change-Id: I74116b1c8508239b4026883916a89bfdac902bae
parent dff1d0ff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment