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

Commit b70288dc authored by Mady Mellor's avatar Mady Mellor Committed by Automerger Merge Worker
Browse files

Merge "Calculate the launch bounds after layout" into udc-dev am: a034b474...

Merge "Calculate the launch bounds after layout" into udc-dev am: a034b474 am: 5c199ecb am: c76cffe2

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



Change-Id: If47a198388cb80dfbbfc23a4b6de6d4bc5a74b87
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents f3d35933 c76cffe2
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -215,9 +215,6 @@ public class BubbleExpandedView extends LinearLayout {
            ActivityOptions options = ActivityOptions.makeCustomAnimation(getContext(),
                    0 /* enterResId */, 0 /* exitResId */);

            Rect launchBounds = new Rect();
            mTaskView.getBoundsOnScreen(launchBounds);

            // TODO: I notice inconsistencies in lifecycle
            // Post to keep the lifecycle normal
            post(() -> {
@@ -226,6 +223,9 @@ public class BubbleExpandedView extends LinearLayout {
                            + getBubbleKey());
                }
                try {
                    Rect launchBounds = new Rect();
                    mTaskView.getBoundsOnScreen(launchBounds);

                    options.setTaskAlwaysOnTop(true);
                    options.setLaunchedFromBubble(true);
                    options.setPendingIntentBackgroundActivityStartMode(