summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Yifei Zhang <yfz@google.com> 2025-01-15 13:46:19 -0800
committer Yifei Zhang <yfz@google.com> 2025-01-15 15:33:34 -0800
commitad4ff82c49fca9db9f7a6b6bd6d5b8702977ab36 (patch)
tree8b8fd36392c6af9ceb5f892867406eda257edf7f /libs/androidfw/StringPool.cpp
parent291ac766cace69ed9e2a3ccfd77461414f5b50cb (diff)
surfacecontrol: mark mCalls Nullable & fix missing null checks
- Check for null properly for debug function to prevent runtime restarts - NPE can occur when sLogAllTxCallsOnApply is reset. In operations involving two transactions (e.g. merge), we only check null for mCalls but not other.mCalls. This commit fixes this case. Test: manual Bug: 266978825 Flag: EXEMPT, bug fix Change-Id: I5c480a410cf91b04c44deb00b12eb169216f899e
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions