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

Commit b5d72330 authored by Ats Jenk's avatar Ats Jenk Committed by Android (Google) Code Review
Browse files

Merge "Inflate handle view as part of expanded view layout" into main

parents b97246a0 013adabd
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -21,4 +21,9 @@
    android:orientation="vertical"
    android:id="@+id/bubble_bar_expanded_view">

    <com.android.wm.shell.bubbles.bar.BubbleBarHandleView
        android:id="@+id/bubble_bar_handle_view"
        android:layout_height="wrap_content"
        android:layout_width="wrap_content" />

</com.android.wm.shell.bubbles.bar.BubbleBarExpandedView>
+2 −2
Original line number Diff line number Diff line
@@ -70,7 +70,7 @@ public class BubbleBarExpandedView extends FrameLayout implements BubbleTaskView
    private @Nullable Supplier<Rect> mLayerBoundsSupplier;
    private @Nullable Listener mListener;

    private BubbleBarHandleView mHandleView = new BubbleBarHandleView(getContext());
    private BubbleBarHandleView mHandleView;
    private @Nullable TaskView mTaskView;
    private @Nullable BubbleOverflowContainerView mOverflowView;

@@ -111,7 +111,7 @@ public class BubbleBarExpandedView extends FrameLayout implements BubbleTaskView
        setElevation(getResources().getDimensionPixelSize(R.dimen.bubble_elevation));
        mCaptionHeight = context.getResources().getDimensionPixelSize(
                R.dimen.bubble_bar_expanded_view_caption_height);
        addView(mHandleView);
        mHandleView = findViewById(R.id.bubble_bar_handle_view);
        applyThemeAttrs();
        setClipToOutline(true);
        setOutlineProvider(new ViewOutlineProvider() {