summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Aurélien Pomini <pomini@google.com> 2024-04-04 13:08:54 +0000
committer Aurélien Pomini <pomini@google.com> 2024-04-04 13:08:54 +0000
commitddbcecbbf3b9913e59bfe6302f21a9741d331477 (patch)
treec84184db2f4c7e8311cda1e682699da2a51159d5 /libs/androidfw/StringPool.cpp
parent10d37891b6c8abd21b8a04d8d1aa2f84014cca7e (diff)
Avoid any NPE in ImageWallpaper#onDestroy
In rare cases where WallpaperService#doAttachEngine throws a RemoteException, it will call ImageWallpaper#onDestroy in a way it can cause a NPE. Add null checks to avoid that. Flag: NA Bug: 330945783 Test: treehugger Change-Id: Icd8ff54fc765102f50fb543ab8cc4d1d4d5295fc
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions