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

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

Merge "Add intent flags back to TaskInfo's base intent" into rvc-dev

parents e23c8dd1 661d866a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3388,7 +3388,9 @@ class Task extends WindowContainer<WindowContainer> {
        final Intent baseIntent = getBaseIntent();
        // Make a copy of base intent because this is like a snapshot info.
        // Besides, {@link RecentTasks#getRecentTasksImpl} may modify it.
        final int baseIntentFlags = baseIntent == null ? 0 : baseIntent.getFlags();
        info.baseIntent = baseIntent == null ? new Intent() : baseIntent.cloneFilter();
        info.baseIntent.setFlags(baseIntentFlags);
        info.baseActivity = mReuseActivitiesReport.base != null
                ? mReuseActivitiesReport.base.intent.getComponent()
                : null;