summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoonas Kylmälä <joonas.kylmala@iki.fi>2019-10-27 16:15:26 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-11-12 18:16:15 +0100
commitc730399d4854875a76baa24ab653fbc049b8deef (patch)
tree003b2c38562e5904307ce23a98f4737c9a13e139
parent3083211e9aee12c7c62b016e9d96254c501bd97d (diff)
downloadpackages_apps_Dialer-c730399d4854875a76baa24ab653fbc049b8deef.tar.gz
packages_apps_Dialer-c730399d4854875a76baa24ab653fbc049b8deef.tar.bz2
packages_apps_Dialer-c730399d4854875a76baa24ab653fbc049b8deef.zip
Remove phone number lookup settings in the graphical interfacereplicant-6.0-0004-rc3replicant-6.0-0004-rc2replicant-6.0-0004-rc1
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ä <joonas.kylmala@iki.fi> Acked-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--src/com/android/dialer/settings/DialerSettingsActivity.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/com/android/dialer/settings/DialerSettingsActivity.java b/src/com/android/dialer/settings/DialerSettingsActivity.java
index 52d91104d..8db2e8094 100644
--- a/src/com/android/dialer/settings/DialerSettingsActivity.java
+++ b/src/com/android/dialer/settings/DialerSettingsActivity.java
@@ -200,12 +200,6 @@ public class DialerSettingsActivity extends PreferenceActivity {
quickResponseSettingsHeader.intent = quickResponseSettingsIntent;
target.add(quickResponseSettingsHeader);
- 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 add the call settings header if the current user is the primary/owner user.
if (isPrimaryUser()) {
final TelephonyManager telephonyManager =