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

Commit d91dc6f6 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix transition filter for returning home transition." into main

parents f84dfe23 4b1dafa6
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.