diff options
| author | 2025-03-17 11:09:13 -0700 | |
|---|---|---|
| committer | 2025-03-17 11:09:13 -0700 | |
| commit | f7982a6666f40343e9a2b2dcbaaa23451f6d4a0f (patch) | |
| tree | d258426113cdabee1a5d552db841f267a01ac717 /libs/androidfw/FileStream.cpp | |
| parent | 34eaed1aa7e355c0e48acdf0b36e94cf21f9ba2a (diff) | |
Fix NPE caused by null replacedPkgSetting
replacedPkgSetting can be null if the existing package has been removed around the same time it was updated, because we only acquire mLock at the commit stage. Adding an NPE check to prevent crashes.
BUG: 403742230
FIXES: 403742230
Test: builds
Change-Id: I361836d6960fdde75357c09077ba3c382ec8a7bb
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions