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

Commit 20f3fa98 authored by Hakjun Choi's avatar Hakjun Choi Committed by Android (Google) Code Review
Browse files

Merge "Hide extra information link when it is empty" into main

parents f1296e36 c2c27227
Loading
Loading
Loading
Loading
+12 −12
Original line number Diff line number Diff line
@@ -195,6 +195,7 @@ public class SatelliteSetting extends RestrictedDashboardFragment {

            final String[] link = new String[1];
            link[0] = readSatelliteMoreInfoString(mSubId);
            if (link[0] != null && !link[0].isEmpty()) {
                footerPreference.setLearnMoreAction(view -> {
                    if (!link[0].isEmpty()) {
                        Intent helpIntent = HelpUtils.getHelpIntent(mActivity, link[0],
@@ -206,8 +207,7 @@ public class SatelliteSetting extends RestrictedDashboardFragment {
                });
                footerPreference.setLearnMoreText(
                        getResources().getString(R.string.more_about_satellite_messaging));

            // TODO : b/320467418 add rounded rectangle border line to footer preference.
            }
        }
    }