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

Commit 0fb7a128 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fixes un-setting activity type when embed activity in split-screen" into tm-dev

parents 5a7dafba e79a0243
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2156,7 +2156,8 @@ class TaskFragment extends WindowContainer<WindowContainer> {
        if (applicationType != ACTIVITY_TYPE_UNDEFINED || !hasChild()) {
            return applicationType;
        }
        return getTopChild().getActivityType();
        final ActivityRecord activity = getTopNonFinishingActivity();
        return activity != null ? activity.getActivityType() : getTopChild().getActivityType();
    }

    @Override