summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Songchun Fan <schfan@google.com> 2024-01-22 15:26:25 -0800
committer Songchun Fan <schfan@google.com> 2024-01-24 16:27:41 -0800
commit71ced8ff7826df722aaaca77916c6996bc894592 (patch)
treea0b7fa929553372b532a16cd5674606b643918ee /libs/androidfw/FileStream.cpp
parentf687e4ee996a38067a4038914996f752af2773da (diff)
[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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions