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

Commit 1e543887 authored by Selim Cinek's avatar Selim Cinek Committed by Android (Google) Code Review
Browse files

Merge "Fixed an issue where the messaging layout could appear empty" into pi-dev

parents 7a1e03a5 46f58917
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -105,7 +105,7 @@ public class MessagingTextMessage extends ImageFloatingTextView implements Messa
    public int getMeasuredType() {
        boolean measuredTooSmall = getMeasuredHeight()
                < getLayoutHeight() + getPaddingTop() + getPaddingBottom();
        if (measuredTooSmall) {
        if (measuredTooSmall && getLineCount() <= 1) {
            return MEASURED_TOO_SMALL;
        } else {
            Layout layout = getLayout();
+1 −2
Original line number Diff line number Diff line
@@ -42,8 +42,7 @@
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="@dimen/notification_text_margin_top"
            android:spacing="2dp"
            android:layout_weight="1"/>
            android:spacing="2dp"/>
    </com.android.internal.widget.RemeasuringLinearLayout>
    <FrameLayout
        android:id="@+id/messaging_group_icon_container"