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

Commit b7e58530 authored by Chilun Huang's avatar Chilun Huang
Browse files

Correct the logic of identifying Home

Correct the logic of identifying Home.

Bug: 269368924
Test: Manual operate the steps of issue and the behavior is expected.
Change-Id: I37a170569a7c36e4047a6a347243e6282498e5ac
Merged-In: I37a170569a7c36e4047a6a347243e6282498e5ac
(cherry picked from commit 81421344)
parent 0bb4ed3d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -186,7 +186,7 @@ public class DefaultMixedHandler implements Transitions.TransitionHandler {

    private boolean isHomeOpening(@NonNull TransitionInfo.Change change) {
        return change.getTaskInfo() != null
                && change.getTaskInfo().getActivityType() != ACTIVITY_TYPE_HOME;
                && change.getTaskInfo().getActivityType() == ACTIVITY_TYPE_HOME;
    }

    private boolean isWallpaper(@NonNull TransitionInfo.Change change) {