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

Commit a302a178 authored by Annie Lin's avatar Annie Lin Committed by Android (Google) Code Review
Browse files

Merge "Replace usage of TaskInfo#isAppBubble in bubble app compat fixes." into main

parents f4024061 ef97f713
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -7569,8 +7569,8 @@ final class ActivityRecord extends WindowToken {
            final Task task = getTask();
            if (task != null) {
                // Similar to floating windows, an app bubble should not apply legacy insets.
                // TODO(b/407669465): Update isAppBubble usage once migrated to the new approach.
                shouldApplyLegacyInsets &= !task.getTaskInfo().isAppBubble;
                // TODO(b/407669465): Update mLaunchNextToBubble usage when migrated.
                shouldApplyLegacyInsets &= !task.mLaunchNextToBubble;
            }
        }
        mResolveConfigHint.resolveTmpOverrides(mDisplayContent, newParentConfiguration,
+2 −2
Original line number Diff line number Diff line
@@ -2528,8 +2528,8 @@ class TaskFragment extends WindowContainer<WindowContainer> {
                        && com.android.wm.shell.Flags.enableBubbleAppCompatFixes()) {
                    final Task task = getTask();
                    if (task != null) {
                        // TODO(b/407669465): Update isAppBubble usage once migrated.
                        shouldUseTaskBounds |= task.getTaskInfo().isAppBubble;
                        // TODO(b/407669465): Update mLaunchNextToBubble usage when migrated.
                        shouldUseTaskBounds |= task.mLaunchNextToBubble;
                    }
                }
                if (shouldUseTaskBounds && !inPipTransition) {