From e9403a833a3d44720346c0eaf61dc06279966e8e Mon Sep 17 00:00:00 2001 From: althafvly Date: Wed, 22 Mar 2023 16:11:39 +0530 Subject: [PATCH] Settings: Remove google learn more links --- .../LocationSettingsFooterPreferenceController.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/com/android/settings/location/LocationSettingsFooterPreferenceController.java b/src/com/android/settings/location/LocationSettingsFooterPreferenceController.java index a3b68be7da2..1b5c7f86164 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. */ -- GitLab