diff options
| author | 2023-04-18 22:59:59 +0800 | |
|---|---|---|
| committer | 2023-04-22 02:30:55 +0800 | |
| commit | c445b83bccb5fb9c607409cf76328879771bc63f (patch) | |
| tree | ec85a4ca7baffe016185680c280b2e51facc7530 /libs/androidfw/StringPool.cpp | |
| parent | 11562e978937ef374e780993e3724be8bc1100c4 (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