]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/commitdiff
Fix crash if third-party apps are not installed. https://redmine.stoutner.com/issues...
authorSoren Stoutner <soren@stoutner.com>
Wed, 1 Jan 2025 17:33:33 +0000 (10:33 -0700)
committerSoren Stoutner <soren@stoutner.com>
Wed, 1 Jan 2025 17:33:33 +0000 (10:33 -0700)
22 files changed:
COPYING
app/src/main/assets/de/about_changelog.html
app/src/main/assets/de/about_licenses.html
app/src/main/assets/en/about_changelog.html
app/src/main/assets/en/about_licenses.html
app/src/main/assets/es/about_changelog.html
app/src/main/assets/es/about_licenses.html
app/src/main/assets/fr/about_changelog.html
app/src/main/assets/fr/about_licenses.html
app/src/main/assets/it/about_changelog.html
app/src/main/assets/it/about_licenses.html
app/src/main/assets/pt-rBR/about_changelog.html
app/src/main/assets/pt-rBR/about_licenses.html
app/src/main/assets/ru/about_changelog.html
app/src/main/assets/ru/about_licenses.html
app/src/main/assets/tr/about_changelog.html
app/src/main/assets/tr/about_licenses.html
app/src/main/assets/zh-rCN/about_changelog.html
app/src/main/assets/zh-rCN/about_licenses.html
app/src/main/java/com/stoutner/privacybrowser/activities/AboutActivity.kt
app/src/main/java/com/stoutner/privacybrowser/activities/ImportExportActivity.kt
app/src/main/java/com/stoutner/privacybrowser/fragments/AboutVersionFragment.kt

diff --git a/COPYING b/COPYING
index b7227ff6701db74c7e1c20c9e322c52ef36ef55d..0ff468bf801ff3d9e2fdf4ab6df27b98f973ffbd 100644 (file)
--- a/COPYING
+++ b/COPYING
@@ -1,4 +1,5 @@
-Privacy Browser Android copyright 2015-2024 Soren Stoutner <soren@stoutner.com>.
+SPDX-License-Identifier: GPL-3.0-or-later
+SPDX-FileCopyrightText: 2016-2025 Soren Stoutner <soren@stoutner.com>
 
 This file is part of Privacy Browser Android <https://www.stoutner.com/privacy-browser-android>.
 
index c1a9dcc1b9dbbf3525a4d5094efb94a5967cf1b9..83ccd3dbd7a70f52d86cdf90f07c45b590cc375b 100644 (file)
@@ -34,7 +34,7 @@
 
     <body>
         <h3><a href="https://www.stoutner.com/privacy-browser-android-3-19/">3.19</a> (Code-Version 76)</h3>
-        <p>31. Dezember 2024 - Mindest-API 26, Ziel-API 35</p>
+        <p><a href="https://gitweb.stoutner.com/?p=PrivacyBrowserAndroid.git;a=commitdiff;h=242ad7a6458d588744fd9a6962b94ba46dd35b96;ds=sidebyside">31. Dezember 2024</a> - Mindest-API 26, Ziel-API 35</p>
         <ul>
             <li>Option hinzugefügt, um <a href="https://redmine.stoutner.com/issues/1142">Lesezeichen alphabetisch zu sortieren</a>.</li>
             <li>Optionen für <a href="https://redmine.stoutner.com/issues/1082">"Nach oben bewegen" und "Nach unten bewegen"</a> von Lesezeichen hinzugefügt.</li>
index e35273d2d7ec6f17397ec9b8cd46583614faf54b..9e7ec4a20f5bd209230dc9172cddee5ae4e4baae 100644 (file)
@@ -1,24 +1,24 @@
 <!--
-  Copyright 2016-2024 Soren Stoutner <soren@stoutner.com>.
+  SPDX-License-Identifier: GPL-3.0-or-later
+  SPDX-FileCopyrightText: 2016-2025 Soren Stoutner <soren@stoutner.com>
 
   Translation 2020 Bernhard G. Keller.  Copyright assigned to Soren Stoutner <soren@stoutner.com>.
-
   Translation 2016 Aaron Gerlach <aaron@gerlach.com>.  Copyright assigned to Soren Stoutner <soren@stoutner.com>.
 
   This file is part of Privacy Browser Android <https://www.stoutner.com/privacy-browser-android/>.
 
-  Privacy Browser Android is free software: you can redistribute it and/or modify
-  it under the terms of the GNU General Public License as published by
-  the Free Software Foundation, either version 3 of the License, or
-  (at your option) any later version.
+  This program is free software: you can redistribute it and/or modify it under
+  the terms of the GNU General Public License as published by the Free Software
+  Foundation, either version 3 of the License, or (at your option) any later
+  version.
 
-  Privacy Browser Android is distributed in the hope that it will be useful,
-  but WITHOUT ANY WARRANTY; without even the implied warranty of
-  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-  GNU General Public License for more details.
+  This program is distributed in the hope that it will be useful, but WITHOUT
+  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+  FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
+  details.
 
-  You should have received a copy of the GNU General Public License
-  along with Privacy Browser Android.  If not, see <https://www.gnu.org/licenses/>. -->
+  You should have received a copy of the GNU General Public License along with
+  this program.  If not, see <https://www.gnu.org/licenses/>. -->
 
 <html lang="de">
     <head>
@@ -34,7 +34,7 @@
 
     <body>
         <h3>Copyright:</h3>
-        <p>Privacy Browser ist copyright 2015-2024 von <a href="mailto:soren@stoutner.com">Soren Stoutner</a>.</p>
+        <p>Privacy Browser ist copyright 2015-2025 von <a href="mailto:soren@stoutner.com">Soren Stoutner</a>.</p>
 
         <h3>Lizenz:</h3>
         <p>Privacy Browser ist veröffentlicht unter der <a href="https://www.gnu.org/licenses/gpl-3.0.html">GPLv3+ Lizenz</a>. The full text of the license is below.
index 0f2a77670756cc962342172d735c30d5fd8f0508..6cc5e578ddd34cf8e54e07dd836460f3f41626fb 100644 (file)
@@ -30,7 +30,7 @@
 
     <body>
         <h3><a href="https://www.stoutner.com/privacy-browser-android-3-19/">3.19</a> (version code 76)</h3>
-        <p>31 December 2024 - minimum API 26, target API 35</p>
+        <p><a href="https://gitweb.stoutner.com/?p=PrivacyBrowserAndroid.git;a=commitdiff;h=242ad7a6458d588744fd9a6962b94ba46dd35b96;ds=sidebyside">31 December 2024</a> - minimum API 26, target API 35</p>
         <ul>
             <li>Add an option to <a href="https://redmine.stoutner.com/issues/1142">sort bookmarks alphabetically</a>.</li>
             <li>Add <a href="https://redmine.stoutner.com/issues/1082">"move to top" and "move to bottom"</a> options for bookmarks.</li>
index 65bfb2888800f81d5db5a564a4a0ed5154b54599..a27e6a99ade0b485a2566636f0265682f96459c6 100644 (file)
@@ -1,20 +1,21 @@
 <!--
-  Copyright 2016-2024 Soren Stoutner <soren@stoutner.com>.
+  SPDX-License-Identifier: GPL-3.0-or-later
+  SPDX-FileCopyrightText: 2016-2025 Soren Stoutner <soren@stoutner.com>
 
   This file is part of Privacy Browser Android <https://www.stoutner.com/privacy-browser-android/>.
 
-  Privacy Browser Android is free software: you can redistribute it and/or modify
-  it under the terms of the GNU General Public License as published by
-  the Free Software Foundation, either version 3 of the License, or
-  (at your option) any later version.
+  This program is free software: you can redistribute it and/or modify it under
+  the terms of the GNU General Public License as published by the Free Software
+  Foundation, either version 3 of the License, or (at your option) any later
+  version.
 
-  Privacy Browser Android is distributed in the hope that it will be useful,
-  but WITHOUT ANY WARRANTY; without even the implied warranty of
-  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-  GNU General Public License for more details.
+  This program is distributed in the hope that it will be useful, but WITHOUT
+  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+  FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
+  details.
 
-  You should have received a copy of the GNU General Public License
-  along with Privacy Browser Android.  If not, see <https://www.gnu.org/licenses/>. -->
+  You should have received a copy of the GNU General Public License along with
+  this program.  If not, see <https://www.gnu.org/licenses/>. -->
 
 <html lang="en">
     <head>
@@ -30,7 +31,7 @@
 
     <body>
         <h3>Copyright</h3>
-        <p>Privacy Browser copyright 2015-2024 <a href="mailto:soren@stoutner.com">Soren Stoutner</a>.</p>
+        <p>Privacy Browser copyright 2015-2025 <a href="mailto:soren@stoutner.com">Soren Stoutner</a>.</p>
 
         <h3>License</h3>
         <p>Privacy Browser is released under the <a href="https://www.gnu.org/licenses/gpl-3.0.html">GPLv3+ license</a>. The full text of the license is below.
index e8b3bf6110fdf9f5fd7b5b6d218f6b197d41c55c..d5e2fa967456f8cf358ccb5191a8185fa2c2cba5 100644 (file)
@@ -32,7 +32,7 @@
 
     <body>
         <h3><a href="https://www.stoutner.com/privacy-browser-android-3-19/">3.19</a> (código de versión 76)</h3>
-        <p>31 de diciembre de 2024 - API mínimo 26, API objetivo 35</p>
+        <p><a href="https://gitweb.stoutner.com/?p=PrivacyBrowserAndroid.git;a=commitdiff;h=242ad7a6458d588744fd9a6962b94ba46dd35b96;ds=sidebyside">31 de diciembre de 2024</a> - API mínimo 26, API objetivo 35</p>
         <ul>
             <li>Añadir una opción para <a href="https://redmine.stoutner.com/issues/1142">ordenar los favoritos alfabéticamente</a>.</li>
             <li>Añadir <a href="https://redmine.stoutner.com/issues/1082">las opciones "mover arriba" y "mover abajo"</a> para los favoritos.</li>
index b8eea77831c188b3268f0acff1f333b885bcc516..8a92454cad99e612e15fc3b4eba35750dbeebf7b 100644 (file)
@@ -1,22 +1,23 @@
 <!--
-  Copyright 2016-2024 Soren Stoutner <soren@stoutner.com>.
+  SPDX-License-Identifier: GPL-3.0-or-later
+  SPDX-FileCopyrightText: 2016-2025 Soren Stoutner <soren@stoutner.com>
 
-  Translation 2017-2020,2023 Jose A. León.  Copyright assigned to Soren Stoutner <soren@stoutner.com>.
+  Translation 2017-2020, 2023 Jose A. León.  Copyright assigned to Soren Stoutner <soren@stoutner.com>.
 
   This file is part of Privacy Browser Android <https://www.stoutner.com/privacy-browser-android/>.
 
-  Privacy Browser Android is free software: you can redistribute it and/or modify
-  it under the terms of the GNU General Public License as published by
-  the Free Software Foundation, either version 3 of the License, or
-  (at your option) any later version.
+  This program is free software: you can redistribute it and/or modify it under
+  the terms of the GNU General Public License as published by the Free Software
+  Foundation, either version 3 of the License, or (at your option) any later
+  version.
 
-  Privacy Browser Android is distributed in the hope that it will be useful,
-  but WITHOUT ANY WARRANTY; without even the implied warranty of
-  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-  GNU General Public License for more details.
+  This program is distributed in the hope that it will be useful, but WITHOUT
+  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+  FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
+  details.
 
-  You should have received a copy of the GNU General Public License
-  along with Privacy Browser Android.  If not, see <https://www.gnu.org/licenses/>. -->
+  You should have received a copy of the GNU General Public License along with
+  this program.  If not, see <https://www.gnu.org/licenses/>. -->
 
 <html lang="es">
     <head>
@@ -32,7 +33,7 @@
 
     <body>
         <h3>Derechos de autor</h3>
-        <p>Navegador Privado tiene derechos de autor 2015-2024 por <a href="mailto:soren@stoutner.com">Soren Stoutner</a>.</p>
+        <p>Navegador Privado tiene derechos de autor 2015-2025 por <a href="mailto:soren@stoutner.com">Soren Stoutner</a>.</p>
 
         <h3>Licencia</h3>
         <p>Navegador Privado está liberado bajo la licencia <a href="https://www.gnu.org/licenses/gpl-3.0.html">GPLv3+</a>.
index db37f3795b31929d453c759505fcc78a8fad96d0..5b239d2c20b6efa28c9cb74c475735d5be9e80d8 100644 (file)
@@ -32,7 +32,7 @@
 
     <body>
         <h3><a href="https://www.stoutner.com/privacy-browser-android-3-19/">3.19</a> (version du code 76)</h3>
-        <p>31 Décembre 2024 - API minimale : 26, API optimale : 35</p>
+        <p><a href="https://gitweb.stoutner.com/?p=PrivacyBrowserAndroid.git;a=commitdiff;h=242ad7a6458d588744fd9a6962b94ba46dd35b96;ds=sidebyside">31 Décembre 2024</a> - API minimale : 26, API optimale : 35</p>
         <ul>
             <li>Ajout d'une option pour <a href="https://redmine.stoutner.com/issues/1142">trier les favoris par ordre alphabétique</a>.</li>
             <li>Ajout des options <a href="https://redmine.stoutner.com/issues/1082">"déplacer en haut" et "déplacer en bas"</a> pour les favoris.</li>
index fdd5982969c18878b940d20c049c5c745406563a..f8c1ee3dd383d726eaa2ddef7c7baa095a14cd84 100644 (file)
@@ -1,22 +1,23 @@
 <!--
-  Copyright 2016-2024 Soren Stoutner <soren@stoutner.com>.
+  SPDX-License-Identifier: GPL-3.0-or-later
+  SPDX-FileCopyrightText: 2016-2025 Soren Stoutner <soren@stoutner.com>
 
   Translation 2019-2023 Kévin L. <kevinliste@framalistes.org>.  Copyright assigned to Soren Stoutner <soren@stoutner.com>.
 
   This file is part of Privacy Browser Android <https://www.stoutner.com/privacy-browser-android/>.
 
-  Privacy Browser Android is free software: you can redistribute it and/or modify
-  it under the terms of the GNU General Public License as published by
-  the Free Software Foundation, either version 3 of the License, or
-  (at your option) any later version.
+  This program is free software: you can redistribute it and/or modify it under
+  the terms of the GNU General Public License as published by the Free Software
+  Foundation, either version 3 of the License, or (at your option) any later
+  version.
 
-  Privacy Browser Android is distributed in the hope that it will be useful,
-  but WITHOUT ANY WARRANTY; without even the implied warranty of
-  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-  GNU General Public License for more details.
+  This program is distributed in the hope that it will be useful, but WITHOUT
+  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+  FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
+  details.
 
-  You should have received a copy of the GNU General Public License
-  along with Privacy Browser Android.  If not, see <https://www.gnu.org/licenses/>. -->
+  You should have received a copy of the GNU General Public License along with
+  this program.  If not, see <https://www.gnu.org/licenses/>. -->
 
 <html lang="fr">
     <head>
@@ -32,7 +33,7 @@
 
     <body>
         <h3>Copyright</h3>
-        <p>Privacy Browser copyright 2015-2024 <a href="mailto:soren@stoutner.com">Soren Stoutner</a>.</p>
+        <p>Privacy Browser copyright 2015-2025 <a href="mailto:soren@stoutner.com">Soren Stoutner</a>.</p>
 
         <h3>Licence</h3>
         <p>rivacy Browser est publié sous la <a href="https://www.gnu.org/licenses/gpl-3.0.html">licence GPLv3+</a>. Le texte complet de la licence est ci-dessous.
index d5c47c75c04219ef575ec090e9468ef86f5f64c7..ea5ac49f4540ddd6bffbe481b8e8220c5e95eb9e 100644 (file)
@@ -32,7 +32,7 @@
 
     <body>
         <h3><a href="https://www.stoutner.com/privacy-browser-android-3-19/">3.19</a> (versione codice 76)</h3>
-        <p>31 Dicembre 2024 - minima API 26, target API 35</p>
+        <p><a href="https://gitweb.stoutner.com/?p=PrivacyBrowserAndroid.git;a=commitdiff;h=242ad7a6458d588744fd9a6962b94ba46dd35b96;ds=sidebyside">31 Dicembre 2024</a> - minima API 26, target API 35</p>
         <ul>
             <li>Add an option to <a href="https://redmine.stoutner.com/issues/1142">sort bookmarks alphabetically</a>.</li>
             <li>Add <a href="https://redmine.stoutner.com/issues/1082">"move to top" and "move to bottom"</a> options for bookmarks.</li>
index 0f6e5633f308d6dd7ca3270b86d21f331127d1b9..07fc5093a6f08556f4f895b05b9c8df771605f1d 100644 (file)
@@ -1,22 +1,23 @@
 <!--
-  Copyright 2017-2024 Soren Stoutner <soren@stoutner.com>.
+  SPDX-License-Identifier: GPL-3.0-or-later
+  SPDX-FileCopyrightText: 2016-2025 Soren Stoutner <soren@stoutner.com>
 
   Translation 2017-2020, 2022-2023 Francesco Buratti.  Copyright assigned to Soren Stoutner <soren@stoutner.com>.
 
   This file is part of Privacy Browser Android <https://www.stoutner.com/privacy-browser-android/>.
 
-  Privacy Browser Android is free software: you can redistribute it and/or modify
-  it under the terms of the GNU General Public License as published by
-  the Free Software Foundation, either version 3 of the License, or
-  (at your option) any later version.
+  This program is free software: you can redistribute it and/or modify it under
+  the terms of the GNU General Public License as published by the Free Software
+  Foundation, either version 3 of the License, or (at your option) any later
+  version.
 
-  Privacy Browser Android is distributed in the hope that it will be useful,
-  but WITHOUT ANY WARRANTY; without even the implied warranty of
-  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-  GNU General Public License for more details.
+  This program is distributed in the hope that it will be useful, but WITHOUT
+  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+  FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
+  details.
 
-  You should have received a copy of the GNU General Public License
-  along with Privacy Browser Android.  If not, see <https://www.gnu.org/licenses/>. -->
+  You should have received a copy of the GNU General Public License along with
+  this program.  If not, see <https://www.gnu.org/licenses/>. -->
 
 <html lang="it">
     <head>
@@ -32,7 +33,7 @@
 
     <body>
         <h3>Copyright</h3>
-        <p>Privacy Browser copyright 2015-2024: <a href="mailto:soren@stoutner.com">Soren Stoutner</a>.</p>
+        <p>Privacy Browser copyright 2015-2025: <a href="mailto:soren@stoutner.com">Soren Stoutner</a>.</p>
 
         <h3>Licenza</h3>
         <p>Privacy Browser è rilasciato con <a href="https://www.gnu.org/licenses/gpl-3.0.html">Licenza GPLv3+ </a>.
index 710c277f94f3b276603e379ad0e6cf3d273283c0..372878802ca7e6cb1db7eeea804cbcee388e2c2d 100644 (file)
@@ -32,7 +32,7 @@
 
     <body>
         <h3><a href="https://www.stoutner.com/privacy-browser-android-3-19/">3.19</a> (código de versão 76)</h3>
-        <p>31 de dezembro de 2024 - minimum API 26, target API 35</p>
+        <p><a href="https://gitweb.stoutner.com/?p=PrivacyBrowserAndroid.git;a=commitdiff;h=242ad7a6458d588744fd9a6962b94ba46dd35b96;ds=sidebyside">31 de dezembro de 2024</a> - minimum API 26, target API 35</p>
         <ul>
             <li>Add an option to <a href="https://redmine.stoutner.com/issues/1142">sort bookmarks alphabetically</a>.</li>
             <li>Add <a href="https://redmine.stoutner.com/issues/1082">"move to top" and "move to bottom"</a> options for bookmarks.</li>
index d6a47a0265aa60e9e14f2a0473eba2a58293682a..9837013a04763a82fcb60782023105c40f3117ac 100644 (file)
@@ -1,22 +1,23 @@
 <!--
-  Copyright 2016-2024 Soren Stoutner <soren@stoutner.com>.
+  SPDX-License-Identifier: GPL-3.0-or-later
+  SPDX-FileCopyrightText: 2016-2025 Soren Stoutner <soren@stoutner.com>
 
   Translation 2021-2022 Thiago Nazareno Conceição Silva de Jesus <mochileiro2006-trilhas@yahoo.com.br>.  Copyright assigned to Soren Stoutner <soren@stoutner.com>.
 
   This file is part of Privacy Browser Android <https://www.stoutner.com/privacy-browser-android/>.
 
-  Privacy Browser Android is free software: you can redistribute it and/or modify
-  it under the terms of the GNU General Public License as published by
-  the Free Software Foundation, either version 3 of the License, or
-  (at your option) any later version.
+  This program is free software: you can redistribute it and/or modify it under
+  the terms of the GNU General Public License as published by the Free Software
+  Foundation, either version 3 of the License, or (at your option) any later
+  version.
 
-  Privacy Browser Android is distributed in the hope that it will be useful,
-  but WITHOUT ANY WARRANTY; without even the implied warranty of
-  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-  GNU General Public License for more details.
+  This program is distributed in the hope that it will be useful, but WITHOUT
+  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+  FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
+  details.
 
-  You should have received a copy of the GNU General Public License
-  along with Privacy Browser Android.  If not, see <https://www.gnu.org/licenses/>. -->
+  You should have received a copy of the GNU General Public License along with
+  this program.  If not, see <https://www.gnu.org/licenses/>. -->
 
 <html lang="pt">
     <head>
@@ -32,7 +33,7 @@
 
     <body>
         <h3>Copyright</h3>
-        <p>Privacy Browser copyright 2015-2024 <a href="mailto:soren@stoutner.com">Soren Stoutner</a>.</p>
+        <p>Privacy Browser copyright 2015-2025 <a href="mailto:soren@stoutner.com">Soren Stoutner</a>.</p>
 
         <h3>License</h3>
         <p>Privacy Browser is released under the <a href="https://www.gnu.org/licenses/gpl-3.0.html">GPLv3+ license</a>. The full text of the license is below.
index 3ac1cf6c1b55e8a69c99415e3868a51fba9a84d6..b064444e327b9675ba68d91a4f47545c4aea5cc3 100644 (file)
@@ -30,7 +30,7 @@
 
     <body>
         <h3><a href="https://www.stoutner.com/privacy-browser-android-3-19/">3.19</a> (код версии 76)</h3>
-        <p>31 декабря 2024 года - минимальный API 26, целевой API 35</p>
+        <p><a href="https://gitweb.stoutner.com/?p=PrivacyBrowserAndroid.git;a=commitdiff;h=242ad7a6458d588744fd9a6962b94ba46dd35b96;ds=sidebyside">31 декабря 2024 года</a> - минимальный API 26, целевой API 35</p>
         <ul>
             <li>Добавлена возможность <a href="https://redmine.stoutner.com/issues/1142">сортировки закладок в алфавитном порядке</a>.</li>
             <li>Добавлена возможность <a href="https://redmine.stoutner.com/issues/1082">перемещать закладки вверх и вниз"</a>.</li>
index 649efed43056021fea1ea256cf37249669938160..5ef5a9674aa7fe698aa77fd1319fdcbf2453cd3e 100644 (file)
@@ -1,20 +1,21 @@
 <!--
-  Copyright 2016-2024 Soren Stoutner <soren@stoutner.com>.
+  SPDX-License-Identifier: GPL-3.0-or-later
+  SPDX-FileCopyrightText: 2016-2025 Soren Stoutner <soren@stoutner.com>
 
   This file is part of Privacy Browser Android <https://www.stoutner.com/privacy-browser-android/>.
 
-  Privacy Browser Android is free software: you can redistribute it and/or modify
-  it under the terms of the GNU General Public License as published by
-  the Free Software Foundation, either version 3 of the License, or
-  (at your option) any later version.
+  This program is free software: you can redistribute it and/or modify it under
+  the terms of the GNU General Public License as published by the Free Software
+  Foundation, either version 3 of the License, or (at your option) any later
+  version.
 
-  Privacy Browser Android is distributed in the hope that it will be useful,
-  but WITHOUT ANY WARRANTY; without even the implied warranty of
-  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-  GNU General Public License for more details.
+  This program is distributed in the hope that it will be useful, but WITHOUT
+  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+  FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
+  details.
 
-  You should have received a copy of the GNU General Public License
-  along with Privacy Browser Android.  If not, see <https://www.gnu.org/licenses/>. -->
+  You should have received a copy of the GNU General Public License along with
+  this program.  If not, see <https://www.gnu.org/licenses/>. -->
 
 <html lang="ru">
     <head>
@@ -30,7 +31,7 @@
 
     <body>
         <h3>Авторские права</h3>
-        <p>Авторские права Privacy Browser 2015-2024 <a href="mailto:soren@stoutner.com">Soren Stoutner</a>.</p>
+        <p>Авторские права Privacy Browser 2015-2025 <a href="mailto:soren@stoutner.com">Soren Stoutner</a>.</p>
 
         <h3>Лицензия</h3>
         <p>Privacy Browser выпущен под <a href="https://www.gnu.org/licenses/gpl-3.0.html">лицензией GPLv3+</a>. Полный текст лицензии приведен ниже.
index f2f2e6d59753fad2177f77a3729538e78846cf02..981960a22cd0d9298146702c67cef9f9a0c07ee8 100644 (file)
@@ -30,7 +30,7 @@
 
     <body>
         <h3><a href="https://www.stoutner.com/privacy-browser-android-3-19/">3.19</a> (version code 76)</h3>
-        <p>31 Aralık 2024 - minimum API 26, target API 35</p>
+        <p><a href="https://gitweb.stoutner.com/?p=PrivacyBrowserAndroid.git;a=commitdiff;h=242ad7a6458d588744fd9a6962b94ba46dd35b96;ds=sidebyside">31 Aralık 2024</a> - minimum API 26, target API 35</p>
         <ul>
             <li>Add an option to <a href="https://redmine.stoutner.com/issues/1142">sort bookmarks alphabetically</a>.</li>
             <li>Add <a href="https://redmine.stoutner.com/issues/1082">"move to top" and "move to bottom"</a> options for bookmarks.</li>
index c1a5f6c67bee15ef3b692f2279b0baacbc5b1eb2..684bb37f99ab77f2959ece5ac6e6d272ec3b0603 100644 (file)
@@ -1,20 +1,21 @@
 <!--
-  Copyright 2016-2024 Soren Stoutner <soren@stoutner.com>.
+  SPDX-License-Identifier: GPL-3.0-or-later
+  SPDX-FileCopyrightText: 2016-2025 Soren Stoutner <soren@stoutner.com>
 
   This file is part of Privacy Browser Android <https://www.stoutner.com/privacy-browser-android/>.
 
-  Privacy Browser Android is free software: you can redistribute it and/or modify
-  it under the terms of the GNU General Public License as published by
-  the Free Software Foundation, either version 3 of the License, or
-  (at your option) any later version.
+  This program is free software: you can redistribute it and/or modify it under
+  the terms of the GNU General Public License as published by the Free Software
+  Foundation, either version 3 of the License, or (at your option) any later
+  version.
 
-  Privacy Browser Android is distributed in the hope that it will be useful,
-  but WITHOUT ANY WARRANTY; without even the implied warranty of
-  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-  GNU General Public License for more details.
+  This program is distributed in the hope that it will be useful, but WITHOUT
+  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+  FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
+  details.
 
-  You should have received a copy of the GNU General Public License
-  along with Privacy Browser Android.  If not, see <https://www.gnu.org/licenses/>. -->
+  You should have received a copy of the GNU General Public License along with
+  this program.  If not, see <https://www.gnu.org/licenses/>. -->
 
 <html lang="tr">
     <head>
@@ -30,7 +31,7 @@
 
     <body>
         <h3>Telif Hakkı</h3>
-        <p>Privacy Browser telif hakkı 2015-2024 <a href="mailto:soren@stoutner.com">Soren Stoutner</a>.</p>
+        <p>Privacy Browser telif hakkı 2015-2025 <a href="mailto:soren@stoutner.com">Soren Stoutner</a>.</p>
 
         <h3>Lisans</h3>
         <p>Privacy Browser <a href="https://www.gnu.org/licenses/gpl-3.0.html">GPLv3+</a> lisansı altında yayınlandı. Lisansın tam metni aşağıdadır.
index 44b5ad5945c05a7ec88ba6c20e098df01cfed52d..04da575e2fc5e05c82be34eb9012dbaf6b654758 100644 (file)
@@ -32,7 +32,7 @@
 
     <body>
         <h3><a href="https://www.stoutner.com/privacy-browser-android-3-19/">3.19</a> (version code 76)</h3>
-        <p>31 December 2024 - 最低支持API 26, 最高支持API 35</p>
+        <p><a href="https://gitweb.stoutner.com/?p=PrivacyBrowserAndroid.git;a=commitdiff;h=242ad7a6458d588744fd9a6962b94ba46dd35b96;ds=sidebyside">31 December 2024</a> - 最低支持API 26, 最高支持API 35</p>
         <ul>
             <li>Add an option to <a href="https://redmine.stoutner.com/issues/1142">sort bookmarks alphabetically</a>.</li>
             <li>Add <a href="https://redmine.stoutner.com/issues/1082">"move to top" and "move to bottom"</a> options for bookmarks.</li>
index ac8c552092eb15ee4bc8445f09c6c1a357879d39..ca3c73d3ea075474e8a24582928d66c43b07c6a0 100644 (file)
@@ -1,22 +1,23 @@
 <!--
-  Copyright 2016-2024 Soren Stoutner <soren@stoutner.com>.
+  SPDX-License-Identifier: GPL-3.0-or-later
+  SPDX-FileCopyrightText: 2016-2025 Soren Stoutner <soren@stoutner.com>
 
   Translation 2023 Xin.  Copyright assigned to Soren Stoutner <soren@stoutner.com>.
 
   This file is part of Privacy Browser Android <https://www.stoutner.com/privacy-browser-android/>.
 
-  Privacy Browser Android is free software: you can redistribute it and/or modify
-  it under the terms of the GNU General Public License as published by
-  the Free Software Foundation, either version 3 of the License, or
-  (at your option) any later version.
+  This program is free software: you can redistribute it and/or modify it under
+  the terms of the GNU General Public License as published by the Free Software
+  Foundation, either version 3 of the License, or (at your option) any later
+  version.
 
-  Privacy Browser Android is distributed in the hope that it will be useful,
-  but WITHOUT ANY WARRANTY; without even the implied warranty of
-  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-  GNU General Public License for more details.
+  This program is distributed in the hope that it will be useful, but WITHOUT
+  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+  FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
+  details.
 
-  You should have received a copy of the GNU General Public License
-  along with Privacy Browser Android.  If not, see <https://www.gnu.org/licenses/>. -->
+  You should have received a copy of the GNU General Public License along with
+  this program.  If not, see <https://www.gnu.org/licenses/>. -->
 
 <html lang="zh">
     <head>
@@ -32,7 +33,7 @@
 
     <body>
         <h3>Copyright</h3>
-        <p>Privacy Browser copyright 2015-2024 <a href="mailto:soren@stoutner.com">Soren Stoutner</a>.</p>
+        <p>Privacy Browser copyright 2015-2025 <a href="mailto:soren@stoutner.com">Soren Stoutner</a>.</p>
 
         <h3>证书</h3>
         <p>Privacy Browser基于<a href="https://www.gnu.org/licenses/gpl-3.0.html">GPLv3+ license</a>发布。
index bd2a837d565c8f1444bffedd5c2f269678f32f1a..85e051915ca244d7dab434e8a942c2db653e524c 100644 (file)
@@ -1,20 +1,20 @@
-/*
- * Copyright 2016-2023 Soren Stoutner <soren@stoutner.com>.
+/* SPDX-License-Identifier: GPL-3.0-or-later
+ * SPDX-FileCopyrightText: 2016-2023 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/>.
  *
- * Privacy Browser Android is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later
+ * version.
  *
- * Privacy Browser Android is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
+ * details.
  *
- * You should have received a copy of the GNU General Public License
- * along with Privacy Browser Android.  If not, see <http://www.gnu.org/licenses/>.
+ * You should have received a copy of the GNU General Public License along with
+ * this program.  If not, see <https://www.gnu.org/licenses/>.
  */
 
 package com.stoutner.privacybrowser.activities
index f0b89d98ad846ff6036948b47304b1078206ffd2..62b46a823c285e66f61872cd18a49f724db477db 100644 (file)
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: GPL-3.0-or-later
- * SPDX-FileCopyrightText: 2018-2024 Soren Stoutner <soren@stoutner.com>
+ * SPDX-FileCopyrightText: 2018-2025 Soren Stoutner <soren@stoutner.com>
  *
  * This file is part of Privacy Browser Android <https://www.stoutner.com/privacy-browser-android/>.
  *
@@ -20,6 +20,7 @@
 package com.stoutner.privacybrowser.activities
 
 import android.content.Intent
+import android.content.pm.PackageManager
 import android.net.Uri
 import android.os.Bundle
 import android.os.Handler
@@ -235,8 +236,14 @@ class ImportExportActivity : AppCompatActivity() {
         // Display the home arrow on the support action bar.
         actionBar.setDisplayHomeAsUpEnabled(true)
 
-        // Find out if OpenKeychain is installed.  If the safe call (`?.`) is null, the Elvis operator (`?"`) returns the following value instead, which is `false`.
-        openKeychainInstalled = packageManager.getPackageInfo("org.sufficientlysecure.keychain", 0).versionName?.isNotEmpty() ?: false
+        // Find out if OpenKeychain is installed.
+        openKeychainInstalled = try {
+            // If the safe call (`?.`) is null, the Elvis operator (`?"`) returns the following value instead, which is `false`.
+            packageManager.getPackageInfo("org.sufficientlysecure.keychain", 0).versionName?.isNotEmpty() ?: false
+        } catch (exception: PackageManager.NameNotFoundException) {
+            // The package is not installed
+            false
+        }
 
         // Get handles for the views.
         scrollView = findViewById(R.id.scrollview)
index ad884b8177896540bb6502c256accf4f07a1384a..64a7dda4dad377868f2fa09597699be8a8f6f047 100644 (file)
@@ -1,5 +1,5 @@
 /* SPDX-License-Identifier: GPL-3.0-or-later
- * SPDX-FileCopyrightText: 2016-2024 Soren Stoutner <soren@stoutner.com>
+ * SPDX-FileCopyrightText: 2016-2025 Soren Stoutner <soren@stoutner.com>
  *
  * This file is part of Privacy Browser Android <https://www.stoutner.com/privacy-browser-android/>.
  *
@@ -397,8 +397,14 @@ class AboutVersionFragment : Fragment() {
         val webViewPackageName = webViewPackageInfo.packageName
         val webViewVersion = webViewPackageInfo.versionName
 
-        // Get the Orbot version name if Orbot is installed.  If the safe call (`?.`) is null, the Elvis operator (`?"`) returns the following value instead, which is an empty string.
-        val orbot: String = requireContext().packageManager.getPackageInfo("org.torproject.android", 0)?.versionName ?: ""
+        // Get the Orbot version name if Orbot is installed.
+        val orbot: String = try {
+            // If the safe call (`?.`) is null, the Elvis operator (`?"`) returns the following value instead, which is an empty string.
+            requireContext().packageManager.getPackageInfo("org.torproject.android", 0).versionName ?: ""
+        } catch (exception: PackageManager.NameNotFoundException) {
+            // Store an empty string.
+            ""
+        }
 
         // Get the I2P version name if I2P is installed.
         val i2p: String = try {
@@ -414,8 +420,14 @@ class AboutVersionFragment : Fragment() {
             }
         }
 
-        // Get the OpenKeychain version name if it is installed.  If the safe call (`?.`) is null, the Elvis operator (`?"`) returns the following value instead, which is an empty string.
-        val openKeychain: String = requireContext().packageManager.getPackageInfo("org.sufficientlysecure.keychain", 0)?.versionName ?: ""
+        // Get the OpenKeychain version name if it is installed.
+        val openKeychain: String = try {
+            // If the safe call (`?.`) is null, the Elvis operator (`?"`) returns the following value instead, which is an empty string.
+            requireContext().packageManager.getPackageInfo("org.sufficientlysecure.keychain", 0).versionName ?: ""
+        } catch (exception: PackageManager.NameNotFoundException) {
+            // Store an empty string.
+            ""
+        }
 
         // Create a spannable string builder for the hardware and software text views that need multiple colors of text.
         val brandStringBuilder = SpannableStringBuilder(brandLabel + brand)