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

Commit 570d6df8 authored by Johannes Gallmann's avatar Johannes Gallmann
Browse files

Fix flaky predictive back test

The reason for the flakiness was that `onBackProgressed` was not called sometimes because the progress was already at 0f. Setting the progress to 0.5f ensures that it is animated back to 0f and thus `onBackProgressed` is definitely called.

Bug: 366251353
Test: WindowOnBackInvokedDispatcherTest
Flag: EXEMPT bugfix
Change-Id: Ia09330f54f6a61245183ce10d762b97931c76245
parent d2ed3a9c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment