commit | b49b0aec0b1e404e816e8ec2bbd06a3d4a74c8f3 | [log] [tgz] |
---|---|---|
author | Aurélien Pomini <pomini@google.com> | Tue Nov 22 17:10:55 2022 +0000 |
committer | Aurélien Pomini <pomini@google.com> | Thu Dec 08 21:03:10 2022 +0000 |
tree | 6e92319eca750dd05233b6f6478d5f80f70c1c23 | |
parent | b9e3f7135ac2c956b1114284ee03c51fa0934a0c [diff] |
Move all the ImageWallpaper logic outside the main thread In order to avoid any thread contention, all the ImageWallpaper logic should be moved out of the main thread. This CL moves the last things that were done on the main thread: - Call surface.lockCanvas and canvas.drawBitmap - Call reportEngineShown Bug: 242969351 Test: atest ImageWallpaperTest Test: treehugger Change-Id: I2a4400c8eaf0d9b8a182e618655855188a15892b