]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/commitdiff
Add DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION explanation. https://redmine.stoutner...
authorSoren Stoutner <soren@stoutner.com>
Wed, 14 Dec 2022 21:05:10 +0000 (14:05 -0700)
committerSoren Stoutner <soren@stoutner.com>
Wed, 14 Dec 2022 21:05:10 +0000 (14:05 -0700)
app/src/main/assets/de/about_permissions.html
app/src/main/assets/en/about_permissions.html
app/src/main/assets/es/about_permissions.html
app/src/main/assets/fr/about_permissions.html
app/src/main/assets/it/about_permissions.html
app/src/main/assets/pt-rBR/about_permissions.html
app/src/main/assets/ru/about_permissions.html
app/src/main/assets/tr/about_permissions.html
app/src/main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.java
app/src/main/java/com/stoutner/privacybrowser/helpers/BlocklistHelper.kt

index 70bf83463629f821c7724a7a0376ba48a63ce636..e4559f2aa650098006f6fa241213448739e3286e 100644 (file)
@@ -40,5 +40,9 @@
         <h3>Verknüpfungen installieren</h3>
         <p><a href="https://developer.android.com/reference/android/Manifest.permission.html#INSTALL_SHORTCUT">com.android.launcher.permission.<wbr>INSTALL_SHORTCUT</a></p>
         <p>Benötigt, um Verknüpfungen zu Websites auf Ihrer Startseite zu erstellen.</p>
         <h3>Verknüpfungen installieren</h3>
         <p><a href="https://developer.android.com/reference/android/Manifest.permission.html#INSTALL_SHORTCUT">com.android.launcher.permission.<wbr>INSTALL_SHORTCUT</a></p>
         <p>Benötigt, um Verknüpfungen zu Websites auf Ihrer Startseite zu erstellen.</p>
+
+        <h3><a href="https://developer.android.google.cn/about/versions/13/features#runtime-receivers">
+            com.stoutner.privacybrowser.<wbr>standard.<wbr>DYNAMIC_<wbr>RECEIVER_<wbr>NOT_<wbr>EXPORTED_<wbr>PERMISSION</a></h3>
+        <p>Automatically added to all apps targeting API >= 33 (Android 13) to prevent other apps from connecting to dynamic receivers without explicit permission.</p>
     </body>
 </html>
     </body>
 </html>
index bd8b69d0fe61fbcc8e0c708cb5903d606e67728e..8e6a7e419d381fcda79893b477683117605c9af0 100644 (file)
@@ -34,5 +34,9 @@
         <h3>Install shortcuts</h3>
         <p><a href="https://developer.android.com/reference/android/Manifest.permission.html#INSTALL_SHORTCUT">com.android.launcher.permission.<wbr>INSTALL_SHORTCUT</a></p>
         <p>Required to add shortcuts for websites to the launcher desktop.</p>
         <h3>Install shortcuts</h3>
         <p><a href="https://developer.android.com/reference/android/Manifest.permission.html#INSTALL_SHORTCUT">com.android.launcher.permission.<wbr>INSTALL_SHORTCUT</a></p>
         <p>Required to add shortcuts for websites to the launcher desktop.</p>
+
+        <h3><a href="https://developer.android.google.cn/about/versions/13/features#runtime-receivers">
+            com.stoutner.privacybrowser.<wbr>standard.<wbr>DYNAMIC_<wbr>RECEIVER_<wbr>NOT_<wbr>EXPORTED_<wbr>PERMISSION</a></h3>
+        <p>Automatically added to all apps targeting API >= 33 (Android 13) to prevent other apps from connecting to dynamic receivers without explicit permission.</p>
     </body>
 </html>
     </body>
 </html>
index 9758c4d8a0621dc4abc02874ef4a38fcb38652d3..b4952098e257cec07e38dbb96390a34d9bd735ec 100644 (file)
@@ -36,5 +36,9 @@
         <h3>Instalar accesos directos</h3>
         <p><a href="https://developer.android.com/reference/android/Manifest.permission.html#INSTALL_SHORTCUT">com.android.launcher.permission.<wbr>INSTALL_SHORTCUT</a></p>
         <p>Requerido para añadir accesos directos de páginas web en el escritorio.</p>
         <h3>Instalar accesos directos</h3>
         <p><a href="https://developer.android.com/reference/android/Manifest.permission.html#INSTALL_SHORTCUT">com.android.launcher.permission.<wbr>INSTALL_SHORTCUT</a></p>
         <p>Requerido para añadir accesos directos de páginas web en el escritorio.</p>
+
+        <h3><a href="https://developer.android.google.cn/about/versions/13/features#runtime-receivers">
+            com.stoutner.privacybrowser.<wbr>standard.<wbr>DYNAMIC_<wbr>RECEIVER_<wbr>NOT_<wbr>EXPORTED_<wbr>PERMISSION</a></h3>
+        <p>Automatically added to all apps targeting API >= 33 (Android 13) to prevent other apps from connecting to dynamic receivers without explicit permission.</p>
     </body>
 </html>
     </body>
 </html>
index 1f4a019b72bd63894e97a847de38567f738a56fb..c10e97ed3b4914986bebca0186f602372c376082 100644 (file)
         <h3>Installer les raccourcis</h3>
         <p><a href="https://developer.android.com/reference/android/Manifest.permission.html#INSTALL_SHORTCUT">com.android.launcher.permission.<wbr>INSTALL_SHORTCUT</a></p>
         <p>Requis pour ajouter des raccourcis pour les sites Web au bureau du programme de lancement.</p>
         <h3>Installer les raccourcis</h3>
         <p><a href="https://developer.android.com/reference/android/Manifest.permission.html#INSTALL_SHORTCUT">com.android.launcher.permission.<wbr>INSTALL_SHORTCUT</a></p>
         <p>Requis pour ajouter des raccourcis pour les sites Web au bureau du programme de lancement.</p>
+
+        <h3><a href="https://developer.android.google.cn/about/versions/13/features#runtime-receivers">
+            com.stoutner.privacybrowser.<wbr>standard.<wbr>DYNAMIC_<wbr>RECEIVER_<wbr>NOT_<wbr>EXPORTED_<wbr>PERMISSION</a></h3>
+        <p>Automatically added to all apps targeting API >= 33 (Android 13) to prevent other apps from connecting to dynamic receivers without explicit permission.</p>
     </body>
 </html>
 
     </body>
 </html>
 
index a8d69208be5f4c251a503ddb5f634544d7397a4b..836954b31bf45dcc7b74a815d3b5da2f0f789a15 100644 (file)
@@ -37,5 +37,9 @@
         <h3>Creazione di collegamenti</h3>
         <p><a href="https://developer.android.com/reference/android/Manifest.permission.html#INSTALL_SHORTCUT">com.android.launcher.permission.<wbr>INSTALL_SHORTCUT</a></p>
         <p>E' richiesto per poter creare collegamenti a siti web sulla schermata principale del dispositivo.</p>
         <h3>Creazione di collegamenti</h3>
         <p><a href="https://developer.android.com/reference/android/Manifest.permission.html#INSTALL_SHORTCUT">com.android.launcher.permission.<wbr>INSTALL_SHORTCUT</a></p>
         <p>E' richiesto per poter creare collegamenti a siti web sulla schermata principale del dispositivo.</p>
+
+        <h3><a href="https://developer.android.google.cn/about/versions/13/features#runtime-receivers">
+            com.stoutner.privacybrowser.<wbr>standard.<wbr>DYNAMIC_<wbr>RECEIVER_<wbr>NOT_<wbr>EXPORTED_<wbr>PERMISSION</a></h3>
+        <p>Automatically added to all apps targeting API >= 33 (Android 13) to prevent other apps from connecting to dynamic receivers without explicit permission.</p>
     </body>
 </html>
     </body>
 </html>
index 0c7c3bcf16a22b1bcc93f7c00c68881a095baf1f..9007e41ba806f51a3ebd3d12d7cb140d6fac550d 100644 (file)
@@ -36,5 +36,9 @@
         <h3>Instalar atalhos</h3>
         <p><a href="https://developer.android.com/reference/android/Manifest.permission.html#INSTALL_SHORTCUT">com.android.launcher.permission.<wbr>INSTALL_SHORTCUT</a></p>
         <p>Necessário para adicionar atalhos para sites na área de trabalho inicial.</p>
         <h3>Instalar atalhos</h3>
         <p><a href="https://developer.android.com/reference/android/Manifest.permission.html#INSTALL_SHORTCUT">com.android.launcher.permission.<wbr>INSTALL_SHORTCUT</a></p>
         <p>Necessário para adicionar atalhos para sites na área de trabalho inicial.</p>
+
+        <h3><a href="https://developer.android.google.cn/about/versions/13/features#runtime-receivers">
+            com.stoutner.privacybrowser.<wbr>standard.<wbr>DYNAMIC_<wbr>RECEIVER_<wbr>NOT_<wbr>EXPORTED_<wbr>PERMISSION</a></h3>
+        <p>Automatically added to all apps targeting API >= 33 (Android 13) to prevent other apps from connecting to dynamic receivers without explicit permission.</p>
     </body>
 </html>
     </body>
 </html>
index d37ca36d4d2d856d26a058854868f9f0a24702f3..f33d3933005a87fc910d5c97e5fffbbe9214aa8a 100644 (file)
@@ -34,5 +34,9 @@
         <h3>Установка ярлыков</h3>
         <p><a href="https://developer.android.com/reference/android/Manifest.permission.html#INSTALL_SHORTCUT">com.android.launcher.permission.<wbr>INSTALL_SHORTCUT</a></p>
         <p>Требуется для добавления ярлыков веб-сайтов на главный экран.</p>
         <h3>Установка ярлыков</h3>
         <p><a href="https://developer.android.com/reference/android/Manifest.permission.html#INSTALL_SHORTCUT">com.android.launcher.permission.<wbr>INSTALL_SHORTCUT</a></p>
         <p>Требуется для добавления ярлыков веб-сайтов на главный экран.</p>
+
+        <h3><a href="https://developer.android.google.cn/about/versions/13/features#runtime-receivers">
+            com.stoutner.privacybrowser.<wbr>standard.<wbr>DYNAMIC_<wbr>RECEIVER_<wbr>NOT_<wbr>EXPORTED_<wbr>PERMISSION</a></h3>
+        <p>Automatically added to all apps targeting API >= 33 (Android 13) to prevent other apps from connecting to dynamic receivers without explicit permission.</p>
     </body>
 </html>
     </body>
 </html>
index e7efedc58211a6e31d355c33b01a71a8c7bc3e92..36f831fc93d6469044cec5a12eb6f335053ff12e 100644 (file)
@@ -34,5 +34,9 @@
         <h3>Kısayolları yükleme</h3>
         <p><a href="https://developer.android.com/reference/android/Manifest.permission.html#INSTALL_SHORTCUT">com.android.launcher.permission.<wbr>INSTALL_SHORTCUT</a></p>
         <p>Başlatıcı masaüstüne web sayfalarının kısayollarını eklemek için gereklidir.</p>
         <h3>Kısayolları yükleme</h3>
         <p><a href="https://developer.android.com/reference/android/Manifest.permission.html#INSTALL_SHORTCUT">com.android.launcher.permission.<wbr>INSTALL_SHORTCUT</a></p>
         <p>Başlatıcı masaüstüne web sayfalarının kısayollarını eklemek için gereklidir.</p>
+
+        <h3><a href="https://developer.android.google.cn/about/versions/13/features#runtime-receivers">
+            com.stoutner.privacybrowser.<wbr>standard.<wbr>DYNAMIC_<wbr>RECEIVER_<wbr>NOT_<wbr>EXPORTED_<wbr>PERMISSION</a></h3>
+        <p>Automatically added to all apps targeting API >= 33 (Android 13) to prevent other apps from connecting to dynamic receivers without explicit permission.</p>
     </body>
 </html>
     </body>
 </html>
index 0f412f01d888cd3a638369907e07f1a1c57d21ac..46be93ad25a680872c925f8fa519e67b753c475c 100644 (file)
@@ -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) {
             // 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);
                 if ((progressBar.getVisibility() == View.GONE) && (icon.getHeight() > nestedScrollWebView.getFavoriteIconHeight())) {
                     // Store the new favorite icon.
                     nestedScrollWebView.setFavoriteIcon(icon);
index 104d15c215c186fed91452062c4e6b99dd3a3cf6..bded48c44947a2cc75e5731d9ff195e8b6934818 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright © 2018-2019,2021-2022 Soren Stoutner <soren@stoutner.com>.
+ * Copyright 2018-2019,2021-2022 Soren Stoutner <soren@stoutner.com>.
  *
  * This file is part of Privacy Browser Android <https://www.stoutner.com/privacy-browser-android>.
  *
  *
  * This file is part of Privacy Browser Android <https://www.stoutner.com/privacy-browser-android>.
  *
@@ -2063,4 +2063,4 @@ class BlocklistHelper {
         // Return a no match request default.
         return arrayOf(REQUEST_DEFAULT)
     }
         // Return a no match request default.
         return arrayOf(REQUEST_DEFAULT)
     }
-}
\ No newline at end of file
+}