commit | ddbcecbbf3b9913e59bfe6302f21a9741d331477 | [log] [tgz] |
---|---|---|
author | Aurélien Pomini <pomini@google.com> | Thu Apr 04 13:08:54 2024 +0000 |
committer | Aurélien Pomini <pomini@google.com> | Thu Apr 04 13:08:54 2024 +0000 |
tree | c84184db2f4c7e8311cda1e682699da2a51159d5 | |
parent | 10d37891b6c8abd21b8a04d8d1aa2f84014cca7e [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