Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ddbcecbb authored by Aurélien Pomini's avatar Aurélien Pomini
Browse files

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
parent 10d37891
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment