From d420aa6be32a78b27905074edc3881a6e71d2263 Mon Sep 17 00:00:00 2001 From: Soren Stoutner Date: Thu, 5 Apr 2018 14:57:49 -0700 Subject: [PATCH] Use the public download directory. https://redmine.stoutner.com/issues/224 --- .idea/codeStyles/Project.xml | 2 +- app/build.gradle | 5 +- .../assets/de/about_permissions_dark.html | 40 ++-- .../assets/de/about_permissions_light.html | 40 ++-- .../assets/de/about_privacy_policy_dark.html | 8 +- .../assets/de/about_privacy_policy_light.html | 8 +- .../assets/en/about_permissions_dark.html | 15 +- .../assets/en/about_permissions_light.html | 13 +- .../assets/en/about_privacy_policy_dark.html | 8 +- .../assets/en/about_privacy_policy_light.html | 8 +- .../assets/es/about_permissions_dark.html | 32 +-- .../assets/es/about_permissions_light.html | 32 +-- .../assets/es/about_privacy_policy_dark.html | 33 ++- .../assets/es/about_privacy_policy_light.html | 33 ++- .../assets/it/about_permissions_dark.html | 7 +- .../assets/it/about_permissions_light.html | 7 +- .../assets/it/about_privacy_policy_dark.html | 11 +- .../assets/it/about_privacy_policy_light.html | 11 +- .../assets/ru/about_permissions_dark.html | 64 ++++++ .../assets/ru/about_permissions_light.html | 64 ++++++ .../assets/ru/about_privacy_policy_dark.html | 103 +++++++++ .../assets/ru/about_privacy_policy_light.html | 103 +++++++++ app/src/free/res/values-de/strings.xml | 27 +-- app/src/free/res/values-es/strings.xml | 2 +- app/src/free/res/values-ru/strings.xml | 24 ++ app/src/main/AndroidManifest.xml | 26 ++- .../assets/de/about_contributors_dark.html | 1 + .../assets/de/about_contributors_light.html | 1 + .../assets/de/about_permissions_dark.html | 12 +- .../assets/de/about_permissions_light.html | 12 +- .../assets/en/about_contributors_dark.html | 1 + .../assets/en/about_contributors_light.html | 1 + .../assets/en/about_permissions_dark.html | 12 +- .../assets/en/about_permissions_light.html | 12 +- .../assets/es/about_contributors_dark.html | 1 + .../assets/es/about_contributors_light.html | 1 + .../assets/es/about_permissions_dark.html | 5 + .../assets/es/about_permissions_light.html | 5 + .../assets/it/about_contributors_dark.html | 1 + .../assets/it/about_contributors_light.html | 1 + .../assets/it/about_permissions_dark.html | 7 +- .../assets/it/about_permissions_light.html | 7 +- .../assets/it/about_privacy_policy_dark.html | 4 +- .../assets/it/about_privacy_policy_light.html | 4 +- .../assets/ru/about_contributors_dark.html | 1 + .../assets/ru/about_contributors_light.html | 1 + .../assets/ru/about_permissions_dark.html | 40 ++++ .../assets/ru/about_permissions_light.html | 40 ++++ .../assets/ru/about_privacy_policy_dark.html | 90 ++++++++ .../assets/ru/about_privacy_policy_light.html | 90 ++++++++ .../assets/ru/guide_domain_settings_dark.html | 39 ++++ .../ru/guide_domain_settings_light.html | 39 ++++ app/src/main/assets/ru/images/bookmarks.png | Bin 0 -> 133289 bytes .../main/assets/ru/images/domain_settings.png | Bin 0 -> 126486 bytes .../main/assets/ru/images/green_url_bar.png | Bin 0 -> 528679 bytes .../activities/MainWebViewActivity.java | 205 +++++++++++++++--- .../dialogs/AboutViewSourceDialog.java | 1 + .../dialogs/DownloadFileDialog.java | 62 +++--- .../dialogs/DownloadImageDialog.java | 62 +++--- .../DownloadLocationPermissionDialog.java | 108 +++++++++ app/src/main/res/drawable/downloads_dark.xml | 13 ++ .../{downloads.xml => downloads_light.xml} | 4 +- app/src/main/res/layout/about_tab_version.xml | 9 +- .../main/res/menu/webview_navigation_menu.xml | 2 +- app/src/main/res/values-de/strings.xml | 10 +- app/src/main/res/values-es/strings.xml | 18 +- app/src/main/res/values/strings.xml | 11 +- build.gradle | 4 +- gradle/wrapper/gradle-wrapper.properties | 4 +- 69 files changed, 1358 insertions(+), 309 deletions(-) create mode 100644 app/src/free/assets/ru/about_permissions_dark.html create mode 100644 app/src/free/assets/ru/about_permissions_light.html create mode 100644 app/src/free/assets/ru/about_privacy_policy_dark.html create mode 100644 app/src/free/assets/ru/about_privacy_policy_light.html create mode 100644 app/src/free/res/values-ru/strings.xml create mode 100644 app/src/main/assets/ru/about_permissions_dark.html create mode 100644 app/src/main/assets/ru/about_permissions_light.html create mode 100644 app/src/main/assets/ru/about_privacy_policy_dark.html create mode 100644 app/src/main/assets/ru/about_privacy_policy_light.html create mode 100644 app/src/main/assets/ru/guide_domain_settings_dark.html create mode 100644 app/src/main/assets/ru/guide_domain_settings_light.html create mode 100644 app/src/main/assets/ru/images/bookmarks.png create mode 100644 app/src/main/assets/ru/images/domain_settings.png create mode 100644 app/src/main/assets/ru/images/green_url_bar.png create mode 100644 app/src/main/java/com/stoutner/privacybrowser/dialogs/DownloadLocationPermissionDialog.java create mode 100644 app/src/main/res/drawable/downloads_dark.xml rename app/src/main/res/drawable/{downloads.xml => downloads_light.xml} (56%) diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index ae45a4a8..92d6b7d5 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -1,6 +1,6 @@ -