summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Marzia Favaro <marziana@google.com> 2023-11-03 17:32:18 +0000
committer Marzia Favaro <marziana@google.com> 2023-11-27 16:59:00 +0000
commit5496dfa0eb103f7954df94aea257ce482bde184d (patch)
treea30f5f85beecb94cf0204911cef196b3bddec314 /libs/androidfw/StringPool.cpp
parenta62c4d69b5d99618d356bccd8717863f578da94b (diff)
Improve readability and add protections against use after release NPE
Preventively ensure the dimLayer has not been released before trying to access it. Fix: 308448047 Test: atest CtsWindowManagerDeviceOther:android.server.wm.other.MinimalPostProcessingTests#testTwoVisibleWindowsSecondOnePrefersMinimalPostProcessing --iteration 100 Test: atest DimmerTests Change-Id: Id08838e0a98ba949382442b8fac8e81156d1aa40
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions