diff --git a/src/com/android/settings/location/LocationSettingsFooterPreferenceController.java b/src/com/android/settings/location/LocationSettingsFooterPreferenceController.java index a3b68be7da209012fe4b6645760f39ba2b444a69..1b5c7f861648856e1d16784bfd9ec9b54e6c7a78 100644 --- a/src/com/android/settings/location/LocationSettingsFooterPreferenceController.java +++ b/src/com/android/settings/location/LocationSettingsFooterPreferenceController.java @@ -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. */