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

Commit 0d503140 authored by Allen Su's avatar Allen Su Committed by Android (Google) Code Review
Browse files

Merge "Apply SIMPLE strategy to TextView's description"

parents 5b24d180 63a775a2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@ import android.telephony.SubscriptionManager;
import android.telephony.TelephonyDisplayInfo;
import android.telephony.TelephonyManager;
import android.text.Html;
import android.text.Layout;
import android.text.TextUtils;
import android.text.method.LinkMovementMethod;
import android.util.Log;
@@ -390,6 +391,7 @@ public class InternetDialog extends SystemUIDialog implements
            if (!TextUtils.isEmpty(summary)) {
                mMobileSummaryText.setText(
                        Html.fromHtml(summary, Html.FROM_HTML_MODE_LEGACY));
                mMobileSummaryText.setBreakStrategy(Layout.BREAK_STRATEGY_SIMPLE);
                mMobileSummaryText.setVisibility(View.VISIBLE);
            } else {
                mMobileSummaryText.setVisibility(View.GONE);