From e923db59fff5ad31f08679c84678cdfb1ca87d63 Mon Sep 17 00:00:00 2001 From: Soren Stoutner Date: Fri, 17 Mar 2017 14:56:57 -0700 Subject: [PATCH] Autopopulate the text in the create bookmark and create shortcut dialog boxes. Implements https://redmine.stoutner.com/issues/98. --- app/build.gradle | 2 +- app/src/main/assets/de/about_changelog.html | 10 +++++----- app/src/main/assets/en/about_changelog.html | 2 +- app/src/main/assets/es/about_changelog.html | 2 +- app/src/main/assets/it/about_changelog.html | 2 +- .../activities/MainWebViewActivity.java | 12 +++++++++++- .../dialogs/CreateBookmarkDialog.java | 9 ++++++--- .../dialogs/CreateBookmarkFolderDialog.java | 2 -- .../dialogs/CreateHomeScreenShortcutDialog.java | 8 ++++++-- .../privacybrowser/dialogs/DownloadFileDialog.java | 2 -- .../privacybrowser/dialogs/DownloadImageDialog.java | 1 - .../privacybrowser/dialogs/EditBookmarkDialog.java | 4 ---- .../dialogs/EditBookmarkFolderDialog.java | 3 --- .../privacybrowser/dialogs/MoveToFolderDialog.java | 3 --- .../privacybrowser/dialogs/UrlHistoryDialog.java | 13 ++----------- app/src/main/res/layout/create_bookmark_dialog.xml | 3 ++- .../layout/create_home_screen_shortcut_dialog.xml | 5 +++-- 17 files changed, 39 insertions(+), 44 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 3c69ba7e..c4bb2f31 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -62,5 +62,5 @@ dependencies { } // Google's documentation says the following line is required for `firebase-ads` but things work correctly without it. I have no interest in applying the Google Mobile Services plugin in the standard flavor if I don't have to. -// I suspect that in the free flavor `firebase-ads` applies it even when not specified. https://firebase.google.com/docs/admob/android/quick-start +// I suspect that in the free flavor `firebase-ads` applies it even when not specified. . // apply plugin: 'com.google.gms.google-services' \ No newline at end of file diff --git a/app/src/main/assets/de/about_changelog.html b/app/src/main/assets/de/about_changelog.html index ed88010a..73e37880 100644 --- a/app/src/main/assets/de/about_changelog.html +++ b/app/src/main/assets/de/about_changelog.html @@ -32,7 +32,7 @@

2.0 (version code 19)

-

16 March 2017 - minimum API 19, target API 25 +

16. März 2017 - Mindest-API, Ziel-API 24

1.15 (version code 18)

-

11 February 2017 - minimum API 19, target API 25

+

11. Februar 2017 - Mindest-API 19, Ziel-API 24

1.14.1 (version code 17)

-

4 January 2017 - minimum API 19, target API 25

+

4. Januar 2017 - Mindest-API 19, Ziel-API 24

1.14 (version code 16)

-

26 December 2016 - minimum API 19, target API 25

+

26. Dezember 2016 - Mindest-API 19, Ziel-API 24

1.13 (version code 15)

-

28 November 2016 - minimum API 19, target API 24

+

28. November 2016 - Mindest-API 19, Ziel-API 24