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

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

Fix logic checking if suspension changed

Currently newSuspendParams is always non-null and oldSuspendParams is
always null because the wrong package was used to query the map
(suspended vs. suspending). As a result `changed` is always true.

Bug: 263464464
Test: atest SuspendPackageHelperTest
Test: atest CtsSuspendAppsTestCases:android.suspendapps.cts.SuspendPackagesTest
Change-Id: Ie70c008af4ecbcaeda4ac51014339dec004eb6b9
parent c91700a7
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