summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Yanting Yang <yantingyang@google.com> 2023-04-18 22:59:59 +0800
committer Yanting Yang <yantingyang@google.com> 2023-04-22 02:30:55 +0800
commitc445b83bccb5fb9c607409cf76328879771bc63f (patch)
treeec85a4ca7baffe016185680c280b2e51facc7530 /libs/androidfw/StringPool.cpp
parent11562e978937ef374e780993e3724be8bc1100c4 (diff)
Fix NPE of ApplicationsState
Check userId before getting the entry from mEntriesMap to avoid NPE in getEntryLocked(), since the caller from RecentAppStatsMixin may query the entry of uncached userId. Bug: 278034297 Test: manual && robotests Change-Id: Ia2ff912403a33b2b94cae5138406154e9fee6adf
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions