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

Skip to content
Commit 3b3bc4c9 authored by Evan Rosky's avatar Evan Rosky Committed by Android Build Coastguard Worker
Browse files

Don't commit invisible on a collecting transient-launch task

The visibleAtTransitionEnd mechanism can't be used for
transient-launch; however, we need to avoid the same problem
that it prevents (premutarely committing invisible on a
window that was not hidden by the current transition but
instead a later one).

This CL adds a heuristic for the transient-launch case that
serves a similar purpose.

Bug: 280907903
Test: inject a sleep during finish to ensure that you can
      launch an app before finishing swipe-to-home. Then
      swipe to home and open another app immediately.
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:fffe0f3c4031ca4fa04c63cc0026247c586d9d4e)
Merged-In: I8b3374040c60068d08905b5d2c604b7c250afccf
Change-Id: I8b3374040c60068d08905b5d2c604b7c250afccf
parent e64a7d3f
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