From cd72d860a3be0d073319afc3778490190f7cf3c8 Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 7 Jul 2022 08:06:53 +0200 Subject: [PATCH] Android Auto features are not available in the Play store version --- CHANGELOG.md | 5 +++-- app/src/main/assets/CHANGELOG.md | 5 +++-- .../java/eu/faircode/email/FragmentOptionsNotifications.java | 2 +- metadata/en-US/changelogs/1930.txt | 5 +++-- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c2bea1a0b..8d304f4ffa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,13 +6,14 @@ ### Next version - -* Added option to delay notifications while connected to Android auto (Android 6+) +* Added option to delay notifications while connected to Android auto (*) * Added option to show number of listed messages in the top action bar * Added configurable button to save raw message files * Small improvements and minor bug fixes * Updated translations +(*) [Due to Play store policies](https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq165) this feature is not available in the Play store version; Android version 6 or later is required + ### 1.1930 - 2022-07-04 * Small improvements and minor bug fixes diff --git a/app/src/main/assets/CHANGELOG.md b/app/src/main/assets/CHANGELOG.md index 9c2bea1a0b..8d304f4ffa 100644 --- a/app/src/main/assets/CHANGELOG.md +++ b/app/src/main/assets/CHANGELOG.md @@ -6,13 +6,14 @@ ### Next version - -* Added option to delay notifications while connected to Android auto (Android 6+) +* Added option to delay notifications while connected to Android auto (*) * Added option to show number of listed messages in the top action bar * Added configurable button to save raw message files * Small improvements and minor bug fixes * Updated translations +(*) [Due to Play store policies](https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq165) this feature is not available in the Play store version; Android version 6 or later is required + ### 1.1930 - 2022-07-04 * Small improvements and minor bug fixes diff --git a/app/src/main/java/eu/faircode/email/FragmentOptionsNotifications.java b/app/src/main/java/eu/faircode/email/FragmentOptionsNotifications.java index 185387d68c..61742c78e2 100644 --- a/app/src/main/java/eu/faircode/email/FragmentOptionsNotifications.java +++ b/app/src/main/java/eu/faircode/email/FragmentOptionsNotifications.java @@ -482,7 +482,7 @@ public class FragmentOptionsNotifications extends FragmentBase implements Shared }); swNotifySuppressInCar.setVisibility( - Build.VERSION.SDK_INT < Build.VERSION_CODES.M + Build.VERSION.SDK_INT < Build.VERSION_CODES.M || BuildConfig.PLAY_STORE_RELEASE ? View.GONE : View.VISIBLE); swNotifySuppressInCar.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() { @Override diff --git a/metadata/en-US/changelogs/1930.txt b/metadata/en-US/changelogs/1930.txt index a7fcf167a1..60cc268de6 100644 --- a/metadata/en-US/changelogs/1930.txt +++ b/metadata/en-US/changelogs/1930.txt @@ -6,13 +6,14 @@ Kinnareemimus Next version - -* Added option to delay notifications while connected to Android auto (Android 6+) +* Added option to delay notifications while connected to Android auto (*) * Added option to show number of listed messages in the top action bar * Added configurable button to save raw message files * Small improvements and minor bug fixes * Updated translations +(*) Due to Play store policies this feature is not available in the Play store version; Android version 6 or later is required + 1.1930 - 2022-07-04 * Small improvements and minor bug fixes