diff options
| author | 2023-10-19 19:01:28 +0100 | |
|---|---|---|
| committer | 2023-10-23 12:27:45 +0100 | |
| commit | 076d5a087339741e2619199dc0aa3e801c7658e4 (patch) | |
| tree | 7d60a7810328ced70aa4f556fd6d18b8d0b68f73 /libs/androidfw/FileStream.cpp | |
| parent | c91700a70b9a02c72ca78e2a5699799f82457884 (diff) | |
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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions