From 0adca386378c7071f03cdd42f321a46963abb3fe Mon Sep 17 00:00:00 2001 From: Soren Stoutner Date: Wed, 14 Dec 2022 14:05:10 -0700 Subject: [PATCH] Add DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION explanation. https://redmine.stoutner.com/issues/924 --- app/src/main/assets/de/about_permissions.html | 4 ++++ app/src/main/assets/en/about_permissions.html | 4 ++++ app/src/main/assets/es/about_permissions.html | 4 ++++ app/src/main/assets/fr/about_permissions.html | 4 ++++ app/src/main/assets/it/about_permissions.html | 4 ++++ app/src/main/assets/pt-rBR/about_permissions.html | 4 ++++ app/src/main/assets/ru/about_permissions.html | 4 ++++ app/src/main/assets/tr/about_permissions.html | 4 ++++ .../privacybrowser/activities/MainWebViewActivity.java | 4 +++- .../com/stoutner/privacybrowser/helpers/BlocklistHelper.kt | 4 ++-- 10 files changed, 37 insertions(+), 3 deletions(-) diff --git a/app/src/main/assets/de/about_permissions.html b/app/src/main/assets/de/about_permissions.html index 70bf8346..e4559f2a 100644 --- a/app/src/main/assets/de/about_permissions.html +++ b/app/src/main/assets/de/about_permissions.html @@ -40,5 +40,9 @@

Verknüpfungen installieren

com.android.launcher.permission.INSTALL_SHORTCUT

Benötigt, um Verknüpfungen zu Websites auf Ihrer Startseite zu erstellen.

+ +

+ com.stoutner.privacybrowser.standard.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION

+

Automatically added to all apps targeting API >= 33 (Android 13) to prevent other apps from connecting to dynamic receivers without explicit permission.

diff --git a/app/src/main/assets/en/about_permissions.html b/app/src/main/assets/en/about_permissions.html index bd8b69d0..8e6a7e41 100644 --- a/app/src/main/assets/en/about_permissions.html +++ b/app/src/main/assets/en/about_permissions.html @@ -34,5 +34,9 @@

Install shortcuts

com.android.launcher.permission.INSTALL_SHORTCUT

Required to add shortcuts for websites to the launcher desktop.

+ +

+ com.stoutner.privacybrowser.standard.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION

+

Automatically added to all apps targeting API >= 33 (Android 13) to prevent other apps from connecting to dynamic receivers without explicit permission.

diff --git a/app/src/main/assets/es/about_permissions.html b/app/src/main/assets/es/about_permissions.html index 9758c4d8..b4952098 100644 --- a/app/src/main/assets/es/about_permissions.html +++ b/app/src/main/assets/es/about_permissions.html @@ -36,5 +36,9 @@

Instalar accesos directos

com.android.launcher.permission.INSTALL_SHORTCUT

Requerido para añadir accesos directos de páginas web en el escritorio.

+ +

+ com.stoutner.privacybrowser.standard.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION

+

Automatically added to all apps targeting API >= 33 (Android 13) to prevent other apps from connecting to dynamic receivers without explicit permission.

diff --git a/app/src/main/assets/fr/about_permissions.html b/app/src/main/assets/fr/about_permissions.html index 1f4a019b..c10e97ed 100644 --- a/app/src/main/assets/fr/about_permissions.html +++ b/app/src/main/assets/fr/about_permissions.html @@ -36,6 +36,10 @@

Installer les raccourcis

com.android.launcher.permission.INSTALL_SHORTCUT

Requis pour ajouter des raccourcis pour les sites Web au bureau du programme de lancement.

+ +

+ com.stoutner.privacybrowser.standard.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION

+

Automatically added to all apps targeting API >= 33 (Android 13) to prevent other apps from connecting to dynamic receivers without explicit permission.

diff --git a/app/src/main/assets/it/about_permissions.html b/app/src/main/assets/it/about_permissions.html index a8d69208..836954b3 100644 --- a/app/src/main/assets/it/about_permissions.html +++ b/app/src/main/assets/it/about_permissions.html @@ -37,5 +37,9 @@

Creazione di collegamenti

com.android.launcher.permission.INSTALL_SHORTCUT

E' richiesto per poter creare collegamenti a siti web sulla schermata principale del dispositivo.

+ +

+ com.stoutner.privacybrowser.standard.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION

+

Automatically added to all apps targeting API >= 33 (Android 13) to prevent other apps from connecting to dynamic receivers without explicit permission.

diff --git a/app/src/main/assets/pt-rBR/about_permissions.html b/app/src/main/assets/pt-rBR/about_permissions.html index 0c7c3bcf..9007e41b 100644 --- a/app/src/main/assets/pt-rBR/about_permissions.html +++ b/app/src/main/assets/pt-rBR/about_permissions.html @@ -36,5 +36,9 @@

Instalar atalhos

com.android.launcher.permission.INSTALL_SHORTCUT

Necessário para adicionar atalhos para sites na área de trabalho inicial.

+ +

+ com.stoutner.privacybrowser.standard.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION

+

Automatically added to all apps targeting API >= 33 (Android 13) to prevent other apps from connecting to dynamic receivers without explicit permission.

diff --git a/app/src/main/assets/ru/about_permissions.html b/app/src/main/assets/ru/about_permissions.html index d37ca36d..f33d3933 100644 --- a/app/src/main/assets/ru/about_permissions.html +++ b/app/src/main/assets/ru/about_permissions.html @@ -34,5 +34,9 @@

Установка ярлыков

com.android.launcher.permission.INSTALL_SHORTCUT

Требуется для добавления ярлыков веб-сайтов на главный экран.

+ +

+ com.stoutner.privacybrowser.standard.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION

+

Automatically added to all apps targeting API >= 33 (Android 13) to prevent other apps from connecting to dynamic receivers without explicit permission.

diff --git a/app/src/main/assets/tr/about_permissions.html b/app/src/main/assets/tr/about_permissions.html index e7efedc5..36f831fc 100644 --- a/app/src/main/assets/tr/about_permissions.html +++ b/app/src/main/assets/tr/about_permissions.html @@ -34,5 +34,9 @@

Kısayolları yükleme

com.android.launcher.permission.INSTALL_SHORTCUT

Başlatıcı masaüstüne web sayfalarının kısayollarını eklemek için gereklidir.

+ +

+ com.stoutner.privacybrowser.standard.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION

+

Automatically added to all apps targeting API >= 33 (Android 13) to prevent other apps from connecting to dynamic receivers without explicit permission.

diff --git a/app/src/main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.java b/app/src/main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.java index 0f412f01..46be93ad 100644 --- a/app/src/main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.java +++ b/app/src/main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.java @@ -5232,7 +5232,9 @@ public class MainWebViewActivity extends AppCompatActivity implements CreateBook // Set the favorite icon when it changes. @Override public void onReceivedIcon(WebView view, Bitmap icon) { - // Only update the favorite icon if the website has finished loading and the new favorite icon height is greater than the current favorite icon height. This prevents low resolution icons from replacing high resolution one. + // Only update the favorite icon if the website has finished loading and the new favorite icon height is greater than the current favorite icon height. + // This prevents low resolution icons from replacing high resolution one. + // The check for the visibility of the progress bar can possibly be removed once https://redmine.stoutner.com/issues/747 is fixed. if ((progressBar.getVisibility() == View.GONE) && (icon.getHeight() > nestedScrollWebView.getFavoriteIconHeight())) { // Store the new favorite icon. nestedScrollWebView.setFavoriteIcon(icon); diff --git a/app/src/main/java/com/stoutner/privacybrowser/helpers/BlocklistHelper.kt b/app/src/main/java/com/stoutner/privacybrowser/helpers/BlocklistHelper.kt index 104d15c2..bded48c4 100644 --- a/app/src/main/java/com/stoutner/privacybrowser/helpers/BlocklistHelper.kt +++ b/app/src/main/java/com/stoutner/privacybrowser/helpers/BlocklistHelper.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2018-2019,2021-2022 Soren Stoutner . + * Copyright 2018-2019,2021-2022 Soren Stoutner . * * This file is part of Privacy Browser Android . * @@ -2063,4 +2063,4 @@ class BlocklistHelper { // Return a no match request default. return arrayOf(REQUEST_DEFAULT) } -} \ No newline at end of file +} -- 2.45.2