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

Skip to content
Commit a6a52902 authored by Vishnu Nair's avatar Vishnu Nair
Browse files

[wm] Make dim animation duration respect transition animation scale

Fixes test flakniess by allowing tests to disable dim animations. Blur
is set by the dim layer and blur radius is affected by alpha. Tests
validating blur has to ensure the dim animation is complete
before taking screenshots. This change allows the tests to disable the
dim animation by setting the scale to 0 for the duration of the test.

Test: atest android.server.wm.other.BlurTests#testNoBlurBehindWhenBlurDisabled --rerun-until-failure
Bug: 293532283

Change-Id: Ia3873eb5185c5b3d456448018ca121a95c645e55
parent 20ce2d46
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