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

Skip to content
Commit 71ced8ff authored by Songchun Fan's avatar Songchun Fan
Browse files

[pm] fix NPE in PreferredComponent

The list of ResolveInfo is from a previous snapshot, so it's possible
that by the time the code reaches PreferredComponent.isSameSet, some of
the apps in the list has already been uninstalled. This CL adds an NPE
fix. A longer term fix should pass the same snapshot into
PreferredComponent to ensure consistency.

BUG: 320033788
Test: presubmit

Change-Id: I488943043a85be23558c06e020f4a91544fe3dc5
parent f687e4ee
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