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

Commit 4b1dafa6 authored by Josh Yang's avatar Josh Yang
Browse files

Fix transition filter for returning home transition.

Flag: EXEMPTED trivial
Bug: 381106230
Test: manual test with test app
Change-Id: I9582d7ec95df9bc7d1b700a7313a5b931072d6f8
parent 5872195a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -438,7 +438,8 @@ public class IOriginTransitionsImpl extends IOriginTransitions.Stub {
            if (forPredictiveBackTakeover) {
                filter.mTypeSet = new int[] {TRANSIT_PREPARE_BACK_NAVIGATION};
            } else {
                filter.mTypeSet = new int[] {TRANSIT_CLOSE, TRANSIT_TO_BACK};
                filter.mTypeSet =
                        new int[] {TRANSIT_CLOSE, TRANSIT_TO_BACK, TRANSIT_OPEN, TRANSIT_TO_FRONT};
            }

            // The opening activity of the return transition must match the activity we just closed.