summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Song Chun Fan <schfan@google.com> 2024-04-29 23:36:29 +0000
committer Song Chun Fan <schfan@google.com> 2024-04-30 18:01:12 +0000
commit67946e080d00b61a95b985e141c500d41e731de7 (patch)
tree77071503d4654f4f66669797a0e82f7eac9575f1 /libs/androidfw/StringPool.cpp
parent4c6d428e7bc6f512256dbbe47edcb630aaef2613 (diff)
Fix NPE when mDataDir is null
It's unclear how mDataDir can be null, but adding this fix would prevent the crashes caused by NPE. The rest of the code seems to be able to handle when mDataDir is null just fine. Change-Id: Ibd43a0b80a13226cbe4627897040339a7b44dea1 BUG: 332866130 FIXES: 332866130 Test: presubmit
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions