From 97a31d224e76512a8fbaf48d3ebecb18a3517f7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joonas=20Kylm=C3=A4l=C3=A4?= Date: Sun, 27 Oct 2019 16:15:26 +0200 Subject: Remove phone number lookup settings in the graphical interface MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When the phone number lookup settings were enabled the app was leaking private information. To prevent that, the following commits in vendor/cmsdk disabled it by default and made sure that the settings were switched back to disabled: de9e5b0 Disable phone number lookup by default for privacy 2d8ae47 Disable phone number lookup settings during upgrade This change removes the phone number lookup service from the graphical interface as well. If we wouldn't remove it then users could still enable it without understanding that it leaks private information to third parties. Signed-off-by: Joonas Kylmälä Acked-by: Denis 'GNUtoo' Carikli GNUtoo: rebased Signed-off-by: Denis 'GNUtoo' Carikli --- src/com/android/dialer/settings/DialerSettingsActivity.java | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/com') diff --git a/src/com/android/dialer/settings/DialerSettingsActivity.java b/src/com/android/dialer/settings/DialerSettingsActivity.java index 35ab02f10..b49d4aec4 100644 --- a/src/com/android/dialer/settings/DialerSettingsActivity.java +++ b/src/com/android/dialer/settings/DialerSettingsActivity.java @@ -59,12 +59,6 @@ public class DialerSettingsActivity extends PreferenceActivity { TelephonyManager telephonyManager = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); - final Header lookupSettingsHeader = new Header(); - lookupSettingsHeader.titleRes = R.string.lookup_settings_label; - lookupSettingsHeader.summaryRes = R.string.lookup_settings_description; - lookupSettingsHeader.fragment = LookupSettingsFragment.class.getName(); - target.add(lookupSettingsHeader); - // Only show call setting menus if the current user is the primary/owner user. if (isPrimaryUser()) { // Show "Call Settings" if there is one SIM and "Phone Accounts" if there are more. -- cgit v1.2.3