From 28768061dfc7622af053e676053bc42a13ff6fe9 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 30 Dec 2022 10:30:30 +0100 Subject: [PATCH] Disabled BIMI for Play Store version --- PRIVACY.md | 2 +- app/src/main/java/eu/faircode/email/ContactInfo.java | 2 +- app/src/main/res/layout/fragment_options_display.xml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/PRIVACY.md b/PRIVACY.md index 6e222c1f63..0db8f0561b 100644 --- a/PRIVACY.md +++ b/PRIVACY.md @@ -75,7 +75,7 @@ This table provides a complete overview of all shared data and the conditions un | Libravatar | [MD5 hash](https://en.wikipedia.org/wiki/MD5) of email addresses | If Libravatars are enabled, upon receiving a message (*) | | GitHub | None, but see the remarks below | Upon downloading Disconnect's Tracker Protection lists | | | | Upon checking for updates (*) | -| BIMI | Domain name of email addresses | If BIMI is enabled, upon receiving a message | +| BIMI | Domain name of email addresses | If BIMI is enabled, upon receiving a message (*) | | Favicons | Domain name of email addresses | If favicons are enabled, upon receiving a message (*) | | Link title | Link address | Upon pressing a download button in the insert link dialog | | Bugsnag | Information about warnings and errors | If error reporting is enabled, upon detecting an abnormal situation | diff --git a/app/src/main/java/eu/faircode/email/ContactInfo.java b/app/src/main/java/eu/faircode/email/ContactInfo.java index 1b7d39d8e6..e063bd55b9 100644 --- a/app/src/main/java/eu/faircode/email/ContactInfo.java +++ b/app/src/main/java/eu/faircode/email/ContactInfo.java @@ -270,7 +270,7 @@ public class ContactInfo { boolean avatars = prefs.getBoolean("avatars", true); boolean prefer_contact = prefs.getBoolean("prefer_contact", false); boolean distinguish_contacts = prefs.getBoolean("distinguish_contacts", false); - boolean bimi = prefs.getBoolean("bimi", false); + boolean bimi = (prefs.getBoolean("bimi", false) && !BuildConfig.PLAY_STORE_RELEASE); boolean gravatars = (prefs.getBoolean("gravatars", false) && !BuildConfig.PLAY_STORE_RELEASE); boolean libravatars = (prefs.getBoolean("libravatars", false) && !BuildConfig.PLAY_STORE_RELEASE); boolean favicons = prefs.getBoolean("favicons", false); diff --git a/app/src/main/res/layout/fragment_options_display.xml b/app/src/main/res/layout/fragment_options_display.xml index e5b0a70a3d..21bcf37651 100644 --- a/app/src/main/res/layout/fragment_options_display.xml +++ b/app/src/main/res/layout/fragment_options_display.xml @@ -1567,6 +1567,7 @@ android:layout_width="0dp" android:layout_height="0dp" app:constraint_referenced_ids=" + swBimi,tvBimiHint,tvBimiVerified,ibBimi, swGravatars,tvGravatarsHint,tvGravatarPrivacy, swLibravatars,tvLibravatarsHint,tvLibravatarPrivacy" />