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

Commit e9403a83 authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

Settings: Remove google learn more links

parent a2e4e7d4
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
@@ -106,21 +106,9 @@ public class LocationSettingsFooterPreferenceController extends LocationBasePref
        }
        if (mFooterPreference != null) {
            mFooterPreference.setTitle(Html.fromHtml(footerString));
            mFooterPreference.setLearnMoreAction(v -> openLocationLearnMoreLink());
            mFooterPreference.setLearnMoreContentDescription(mContext.getString(
                    R.string.location_settings_footer_learn_more_content_description));
        }
    }

    private void openLocationLearnMoreLink() {
        mFragment.startActivityForResult(
                HelpUtils.getHelpIntent(
                        mContext,
                        mContext.getString(R.string.location_settings_footer_learn_more_link),
                        /*backupContext=*/""),
                /*requestCode=*/ 0);
    }

    /**
     * Location footer preference group should always be displayed.
     */