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

Commit 2b334301 authored by Brandon Dayauon's avatar Brandon Dayauon
Browse files

Shortcut/people icon horizontal layout polish

- allow two line for SearchResultShortcutIcons (also be used in search_result_icon_container)

bug: 261047689
test: manual - https://screenshot.googleplex.com/9wwjxp3nqf4iyJr
Change-Id: Ie8d1415ea94f843f32abb9e4416064c1b674be6d
parent 20a343e7
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -665,8 +665,9 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver,
                    getPaddingBottom());
        }
        // only apply two line for all_apps
        if (FeatureFlags.ENABLE_TWOLINE_ALLAPPS.get() && (mLastOriginalText != null)
                && (mDisplay == DISPLAY_ALL_APPS)) {
        if (((FeatureFlags.ENABLE_TWOLINE_ALLAPPS.get() && mDisplay == DISPLAY_ALL_APPS)
                || (FeatureFlags.ENABLE_TWOLINE_DEVICESEARCH.get()
                && mDisplay == DISPLAY_SEARCH_RESULT)) && (mLastOriginalText != null)) {
            CharSequence modifiedString = modifyTitleToSupportMultiLine(
                    MeasureSpec.getSize(widthMeasureSpec) - getCompoundPaddingLeft()
                            - getCompoundPaddingRight(),