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

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

Lock mSurfaceHolder=null in ImageWallpaper

There is a race condition where WallpaperEngine#onSurfaceDestroyed is
being triggered right before the image is drawn in
ImageWallpaper#drawFrameOnCanvas. Adding synchronization makes sure the
null check in drawFrameInternal avoids this.

Flag: NA
Bug: 279589555
Test: atest ImageWallpaperTest
Test: atest WallpaperLocalColorExtractorTest
Test: atest WallpaperManagerTest
Test: manual (check picker basic user journeys)

Change-Id: I650bd31faed96383258105335b5ad92448a840f3
parent 4a8491e5
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