| commit | a18c2e72a082b666dff45296170955430961fcfa | [log] [tgz] |
|---|---|---|
| author | Andrei Sfartz <ansfartz@microsoft.com> | Mon May 09 18:58:01 2022 +0300 |
| committer | Andrei Sfartz <ansfartz@microsoft.com> | Mon May 09 18:58:01 2022 +0300 |
| tree | 7f77c62a101b18b9d5584fe1c54799e4c2286a01 | |
| parent | 27022ba379c8f61497b2fae0cb1aef078487de60 [diff] |
BlurTests: use screenshot of activity bounds The tests previously failed on multi-screen (foldable) devices because of the instrumentation screenshot capturing the entire display, causing the tests to use an incorrect screen width when comparing pixel colors. This commit fixes the issue by limiting the screenshot Bitmap to the BackgroundImageActivity's bounds. Signed-off-by: Andrei Sfartz <ansfartz@microsoft.com> Change-Id: I3109cd497b18688807633059379c1f90c8b9e921