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

Commit b86a44ac authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fixes un-setting activity type when embed activity in split-screen"...

Merge "Fixes un-setting activity type when embed activity in split-screen" into tm-dev am: 0fb7a128 am: 9b9c7f11

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17800405



Change-Id: I349d70828f2e8d5a81a7de757bc157d289405cb1
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 0797a5bd 9b9c7f11
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