summaryrefslogtreecommitdiff
path: root/android/source
AgeCommit message (Collapse)Author
2024-05-31android-viewer translated using WeblateWeblate
Georgian currently translated at 100.0% (116 of 116 strings) Change-Id: Iaf9193bd950b9bbc1cb25828fb6ee2af53ae158b android-viewer translated using Weblate Japanese currently translated at 75.0% (87 of 116 strings) Change-Id: Idd317334a8a1e30f427fae91a38fa3300d0b9c5d android-viewer translated using Weblate Japanese currently translated at 74.1% (86 of 116 strings) Change-Id: Iebd923daef4f9bc7693e15340e2d7f6d9eb21159 Co-authored-by: Ekaterine Papava <papava.e@gtu.ge> Co-authored-by: Taichi Haradaguchi <20001722@ymail.ne.jp> Co-authored-by: Weblate <noreply@documentfoundation.org> Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ja/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ka/ Translation: android-viewer/android-strings Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168189 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Jenkins
2024-05-24android-viewer translated using WeblateWeblate
Japanese currently translated at 68.1% (79 of 116 strings) Change-Id: I1c42877ea415bdf3830bbee64c97589eafa7fa1c android-viewer translated using Weblate Change-Id: I9efdbae451a5313cb5b8ef4a169696969696969b Co-authored-by: Taichi Haradaguchi <20001722@ymail.ne.jp> Co-authored-by: Weblate <noreply@documentfoundation.org> Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ja/ Translation: android-viewer/android-strings Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167986 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Tested-by: Jenkins
2024-05-23android: Use "compact_fonts" LibreOfficeKit optionMichael Weghorn
For Android Viewer, set the "compact_fonts" LibreOfficeKit option via environment variable `SAL_LOK_OPTIONS` introduced in Change-Id: I3dc9f5de876def6e4afc09a43105b1740f7c621f Author: Michael Meeks <michael.meeks@collabora.com> Date: Fri May 17 21:25:29 2024 +0100 lok: stop amazing waste of repeated font sizes in each font element. and adjust the handling in `FontController` to process the flat lists for font names and sizes that is reported with that options set, rather than processing font sizes for each individual font. (See also discussion in original Gerrit change for the distro/collabora/co-24.04 branch: [1].). [1] https://gerrit.libreoffice.org/c/core/+/167799 Change-Id: I85734c1876d152f4f95f9182629affd6b250fdbc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167963 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Tested-by: Jenkins
2024-05-23Added translation for android-viewer using Weblate (Georgian)Weblate
Change-Id: I4058a4698582256a31ebb21379c0a66b22e2a1cc android-viewer translated using Weblate Japanese currently translated at 65.5% (76 of 116 strings) Change-Id: I74e48d5d605e25ebf39e2a8bd73495274ee94855 Added translation for android-viewer using Weblate (Hebrew) Change-Id: I491b69291975d22c0552cc20e93f2042cc70e4b0 Update translation files for android-viewer Updated by "Cleanup translation files" hook in Weblate. Change-Id: Iea28e4d8bf859accdb1c16bb4c6836237a4d2b26 android-viewer translated using Weblate Japanese currently translated at 61.0% (72 of 118 strings) Change-Id: I741c23b1048d4857605d73aad34668c29234dd6f android-viewer translated using Weblate Catalan currently translated at 100.0% (118 of 118 strings) Change-Id: I9cbcf579a5c634adf0686e43aa4dca069c2dd577 Added translation for android-viewer using Weblate (Esperanto) Change-Id: Ibcf6e82a860c5e789d6ee89dace30d1457a60c22 android-viewer translated using Weblate Japanese currently translated at 39.8% (47 of 118 strings) Change-Id: I9efdbae451a5313cb5b8ef4a1abca6969696969b Co-authored-by: Adolfo Jayme Barrientos <fito@libreoffice.org> Co-authored-by: Ekaterine Papava <papava.e@gtu.ge> Co-authored-by: Taichi Haradaguchi <20001722@ymail.ne.jp> Co-authored-by: Weblate <noreply@documentfoundation.org> Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com> Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ca/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ja/ Translation: android-viewer/android-strings Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167895 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-05-17Update translation files for android-viewerWeblate
Updated by "Cleanup translation files" hook in Weblate. Change-Id: Iea28e4d8bf859accdb1c16bb4c6836237a4d2b26 android-viewer translated using Weblate Japanese currently translated at 61.0% (72 of 118 strings) Change-Id: I741c23b1048d4857605d73aad34668c29234dd6f android-viewer translated using Weblate Catalan currently translated at 100.0% (118 of 118 strings) Change-Id: I9cbcf579a5c634adf0686e43aa4dca069c2dd577 Added translation for android-viewer using Weblate (Esperanto) Change-Id: Ibcf6e82a860c5e789d6ee89dace30d1457a60c22 android-viewer translated using Weblate Japanese currently translated at 39.8% (47 of 118 strings) Change-Id: I9efdbae451a5313cb5b8ef4a1abca4bbc696969b Co-authored-by: Adolfo Jayme Barrientos <fito@libreoffice.org> Co-authored-by: Taichi Haradaguchi <20001722@ymail.ne.jp> Co-authored-by: Weblate <noreply@documentfoundation.org> Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ca/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ja/ Translation: android-viewer/android-strings Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167748 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Tested-by: Jenkins
2024-05-16android: Disable multidex, only needed for minSdkVersion < 21Michael Weghorn
multidex was enabled in commit 037680488b56aa2c4eb21900168aa88ef35d5b07 Author: Michael Weghorn <m.weghorn@posteo.de> Date: Tue Dec 27 12:51:54 2022 +0100 android: Enable multidex, update com.google.android.material to 1.7.0 as it was needed when building for minSdkVersion <= 20, see [1] and the full commit message of the above-mentioned commit for more details. However, since commit c2fc2c8c7c63ca4e43bca6e8c9b82c50418422d2 Author: Michael Weghorn <m.weghorn@posteo.de> Date: Tue Dec 5 09:57:22 2023 +0100 android: Bump minSdkVersion to 21 (Android 5.0) , the minSdkVersion is greater than that, so this is no longer needed. [1] https://developer.android.com/build/multidex Change-Id: I31502ec74e9c4201a8a11be42820f70e5fd5a1fd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167735 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Tested-by: Jenkins
2024-05-16tdf#157009 android: Add icon symlink for F-DroidMichael Weghorn
Add a symlink to the app icon at the expected location when using the Triple-T data structure that can be used to provide metadata for F-Droid. [1] As Android Viewer currently uses a non-default directory layout, this currently needs to be placed in a different subdirectory than the actual source code in order for F-Droid to find it, see the discussion in [2] for more details. This should cause the app icon to show up in F-Droid after the next update. [1] https://f-droid.org/en/docs/All_About_Descriptions_Graphics_and_Screenshots/#triple-t-structure [2] https://gitlab.com/fdroid/fdroiddata/-/merge_requests/13643#note_1538888683 Change-Id: Ic1a987e430b6e92134ac19d7f1c264953cd3cf0c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167732 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Tested-by: Jenkins
2024-05-16android lint: Udate lint-baseline.xmlMichael Weghorn
Some of the issues have been addressed in the meanwhile, so regenerate the file to reflect that. Change-Id: I5c0f8a112cf02a89fe652c79ed8d70213f6fbc1e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167725 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-05-16android: Avoid unnecessary prefs processingMichael Weghorn
When the experimental editing mode preference was toggled, it was processed twice: Toggling that pref requires starting the `SettingsActivity`, and when returning to `LibreOfficeMainActivity`, its `onResume` method was called which updates `mIsExperimentalMode` as needed. In addition, the `LibreOfficeMainActivity#onSharedPreferenceChanged` callback was called that also processed that preference. The latter is more "targeted" and only called when a preference actually changes. Call `updatePreferences()` from there so other preferences are also handled and drop the call to `updatePreferences` from the `onResume` method, which is no longer needed with that in place. Change-Id: Ic0cacd8ad551137d5aea14cda6838d2ac50de8db Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167724 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-05-16android: Drop indirection listening to pref changeMichael Weghorn
Let `LibreOfficeMainActivity` implement the standard Android `SharedPreferences.OnSharedPreferenceChangeListener` interface directly, rather than having a custom `SettingsListenerModel.OnSettingsPreferenceChangedListener` indirection and the `SettingsFragment` implementing the standard interface. This simplifies the code and removes one level of indirection. Drop the now unused `SettingsListenerModel`. Change-Id: I8c7d6088e711631409f9189bba966439db3daa44 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167723 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-05-16android: Apply enabled experimental mode when doc openMichael Weghorn
Use a `mbReadOnlyDoc` member that keeps track of the readonly status of the document only instead of a `mbISReadOnlyMode` that at the same time also was taking into account whether experimental editing features were enabled. Let `LibreOfficeMainActivity#isReadOnlyMode()` take experimental status into account instead. With this in place, opening a (writable) document with experimental editing mode disabled, then enabling experimental editing mode makes editing possible after clicking on the LibreOffice logo in the toolbar. Previously, it was necessary to open the document anew. Change-Id: Ia5fde9b6019251d76d46df97fad2ffd64a0f5a30 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167721 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-05-16android: No longer manually set UI languageMichael Weghorn
Drop the possibility to manually set a UI language introduced in commit f2e35a695671028b32139df1824ff536e7610d35 Author: Mert Tumer <merttumer@outlook.com> Date: Tue Sep 18 23:29:57 2018 +0300 Added language support on Android Viewer Since commit 5bf2ec9ed8728a2042e110122ea2b0e4ff55104a Author: Michael Weghorn <m.weghorn@posteo.de> Date: Fri Dec 20 10:40:34 2019 +0100 android: Use system locale by default , Android Viewer defaulted to the system language for its UI language as well. In addition, current Android versions allow to set a specific language for apps: [1] The previous approach of manually setting a language in Android Viewer shouldn't really be necessary any more. With the app now being available for translation on Weblate and having been translated to more languages, the list of available languages had become out of sync. Additionally, the manually selected language wasn't consistently applied everywhere: * On the start activity where a document can be selected, it was only applied after closing the app, then opening it again. * in the Settings, the language was not applied at all, that was always using the system locale anyway Changes to the system locale are applied immediately and consistently, so stick to the default Android mechanism and reduce the overall complexity and maintenance burden. [1] https://support.google.com/android/answer/12395118?hl=en Change-Id: Ida61650b888a563f2346ea94a14b260802b1d24d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167718 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-05-16android: Port Settings{Activity,Fragment} from deprecated APIMichael Weghorn
API used in `SettingsActivity` and `SettingsFragment` has been deprecated, e.g. `PreferenceFragment` was deprecated in API level 28 [1]. Port that to non-deprecated API from the androidx.preference library [2]. This addresses these deprecation warnings: /home/michi/development/git/libreoffice-WORKTREE-android/android/source/src/java/org/libreoffice/SettingsActivity.java:14: warning: [deprecation] PreferenceFragment in android.preference has been deprecated import android.preference.PreferenceFragment; ^ /home/michi/development/git/libreoffice-WORKTREE-android/android/source/src/java/org/libreoffice/SettingsActivity.java:15: warning: [deprecation] PreferenceGroup in android.preference has been deprecated /home/michi/development/git/libreoffice-WORKTREE-android/android/source/src/java/org/libreoffice/SettingsActivity.java:23: warning: [deprecation] getFragmentManager() in Activity has been deprecated getFragmentManager().beginTransaction() ^ /home/michi/development/git/libreoffice-WORKTREE-android/android/source/src/java/org/libreoffice/SettingsActivity.java:23: warning: [deprecation] beginTransaction() in FragmentManager has been deprecated getFragmentManager().beginTransaction() ^ /home/michi/development/git/libreoffice-WORKTREE-android/android/source/src/java/org/libreoffice/SettingsActivity.java:24: warning: [deprecation] replace(int,Fragment) in FragmentTransaction has been deprecated .replace(android.R.id.content, new SettingsFragment()) ^ /home/michi/development/git/libreoffice-WORKTREE-android/android/source/src/java/org/libreoffice/SettingsActivity.java:25: warning: [deprecation] commit() in FragmentTransaction has been deprecated .commit(); ^ /home/michi/development/git/libreoffice-WORKTREE-android/android/source/src/java/org/libreoffice/SettingsActivity.java:28: warning: [deprecation] PreferenceFragment in android.preference has been deprecated public static class SettingsFragment extends PreferenceFragment implements SharedPreferences.OnSharedPreferenceChangeListener { ^ /home/michi/development/git/libreoffice-WORKTREE-android/android/source/src/java/org/libreoffice/SettingsActivity.java:28: warning: [deprecation] PreferenceFragment() in PreferenceFragment has been deprecated public static class SettingsFragment extends PreferenceFragment implements SharedPreferences.OnSharedPreferenceChangeListener { ^ /home/michi/development/git/libreoffice-WORKTREE-android/android/source/src/java/org/libreoffice/SettingsActivity.java:30: warning: [deprecation] onCreate(Bundle) in PreferenceFragment has been deprecated public void onCreate(Bundle savedInstanceState) { ^ /home/michi/development/git/libreoffice-WORKTREE-android/android/source/src/java/org/libreoffice/SettingsActivity.java:31: warning: [deprecation] onCreate(Bundle) in PreferenceFragment has been deprecated super.onCreate(savedInstanceState); ^ /home/michi/development/git/libreoffice-WORKTREE-android/android/source/src/java/org/libreoffice/SettingsActivity.java:32: warning: [deprecation] addPreferencesFromResource(int) in PreferenceFragment has been deprecated addPreferencesFromResource(R.xml.libreoffice_preferences); ^ /home/michi/development/git/libreoffice-WORKTREE-android/android/source/src/java/org/libreoffice/SettingsActivity.java:34: warning: [deprecation] PreferenceGroup in android.preference has been deprecated PreferenceGroup generalGroup = (PreferenceGroup) findPreference("PREF_CATEGORY_GENERAL"); ^ /home/michi/development/git/libreoffice-WORKTREE-android/android/source/src/java/org/libreoffice/SettingsActivity.java:34: warning: [deprecation] PreferenceGroup in android.preference has been deprecated PreferenceGroup generalGroup = (PreferenceGroup) findPreference("PREF_CATEGORY_GENERAL"); ^ /home/michi/development/git/libreoffice-WORKTREE-android/android/source/src/java/org/libreoffice/SettingsActivity.java:34: warning: [deprecation] findPreference(CharSequence) in PreferenceFragment has been deprecated PreferenceGroup generalGroup = (PreferenceGroup) findPreference("PREF_CATEGORY_GENERAL"); ^ /home/michi/development/git/libreoffice-WORKTREE-android/android/source/src/java/org/libreoffice/SettingsActivity.java:35: warning: [deprecation] findPreference(CharSequence) in PreferenceGroup has been deprecated generalGroup.removePreference(generalGroup.findPreference("ENABLE_EXPERIMENTAL")); ^ /home/michi/development/git/libreoffice-WORKTREE-android/android/source/src/java/org/libreoffice/SettingsActivity.java:35: warning: [deprecation] removePreference(Preference) in PreferenceGroup has been deprecated generalGroup.removePreference(generalGroup.findPreference("ENABLE_EXPERIMENTAL")); ^ /home/michi/development/git/libreoffice-WORKTREE-android/android/source/src/java/org/libreoffice/SettingsActivity.java:36: warning: [deprecation] findPreference(CharSequence) in PreferenceGroup has been deprecated generalGroup.removePreference(generalGroup.findPreference("ENABLE_DEVELOPER")); ^ /home/michi/development/git/libreoffice-WORKTREE-android/android/source/src/java/org/libreoffice/SettingsActivity.java:36: warning: [deprecation] removePreference(Preference) in PreferenceGroup has been deprecated generalGroup.removePreference(generalGroup.findPreference("ENABLE_DEVELOPER")); ^ /home/michi/development/git/libreoffice-WORKTREE-android/android/source/src/java/org/libreoffice/SettingsActivity.java:41: warning: [deprecation] onResume() in Fragment has been deprecated public void onResume() { ^ /home/michi/development/git/libreoffice-WORKTREE-android/android/source/src/java/org/libreoffice/SettingsActivity.java:42: warning: [deprecation] onResume() in Fragment has been deprecated super.onResume(); ^ /home/michi/development/git/libreoffice-WORKTREE-android/android/source/src/java/org/libreoffice/SettingsActivity.java:43: warning: [deprecation] getPreferenceScreen() in PreferenceFragment has been deprecated getPreferenceScreen().getSharedPreferences() ^ /home/michi/development/git/libreoffice-WORKTREE-android/android/source/src/java/org/libreoffice/SettingsActivity.java:43: warning: [deprecation] getSharedPreferences() in Preference has been deprecated getPreferenceScreen().getSharedPreferences() ^ /home/michi/development/git/libreoffice-WORKTREE-android/android/source/src/java/org/libreoffice/SettingsActivity.java:48: warning: [deprecation] onPause() in Fragment has been deprecated public void onPause() { ^ /home/michi/development/git/libreoffice-WORKTREE-android/android/source/src/java/org/libreoffice/SettingsActivity.java:49: warning: [deprecation] onPause() in Fragment has been deprecated super.onPause(); ^ /home/michi/development/git/libreoffice-WORKTREE-android/android/source/src/java/org/libreoffice/SettingsActivity.java:50: warning: [deprecation] getPreferenceScreen() in PreferenceFragment has been deprecated getPreferenceScreen().getSharedPreferences() ^ /home/michi/development/git/libreoffice-WORKTREE-android/android/source/src/java/org/libreoffice/SettingsActivity.java:50: warning: [deprecation] getSharedPreferences() in Preference has been deprecated getPreferenceScreen().getSharedPreferences() ^ /home/michi/development/git/libreoffice-WORKTREE-android/android/source/src/java/org/libreoffice/SettingsActivity.java:58: warning: [deprecation] getActivity() in Fragment has been deprecated [1] https://developer.android.com/reference/android/preference/PreferenceFragment [2] https://developer.android.com/reference/androidx/preference/package-summary Change-Id: I3365a487345787056c91fa7addf987edca38e94f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167717 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-05-16android: Port to non-deprecated androidx PreferenceManagerMichael Weghorn
The `android.preference.PreferenceManager` class was deprecated in API level 29 [1]. Port to `androidx.preference.PreferenceManager` from the AndroidX Preference library instead. All that needs to be done for this is to add the new library dependency and adjust the import, no further code changes needed for this step. (There are uses of more deprecated preferences-related classes, though. Those will have to be dealt with separately.) This addresses depreaction warnings like > Task :compileStrippedUIEditingDebugJavaWithJavac /home/michi/development/git/libreoffice-WORKTREE-android/android/source/src/java/org/libreoffice/LibreOfficeMainActivity.java:16: warning: [deprecation] PreferenceManager in android.preference has been deprecated import android.preference.PreferenceManager; ^ [1] https://developer.android.com/reference/android/preference/PreferenceManager Change-Id: Ied168ffbd0591d69e0797e2a0a5bab067e133d22 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167716 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Tested-by: Jenkins
2024-05-16android-viewer translated using WeblateWeblate
Japanese currently translated at 39.8% (47 of 118 strings) Change-Id: I9efdbae451a5313cb5b8ef4a1abca4bbc69e434b Co-authored-by: Taichi Haradaguchi <20001722@ymail.ne.jp> Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ja/ Translation: android-viewer/android-strings Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167630 Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2024-05-14android: Fix taking photos by dropping permissionMichael Weghorn
At least on recent devices (seen e.g. on an AVD with API level 34 and a Fairphone 3 with LineageOS 20 (based on Android 13)), inserting a picture by taking a photo using the camera didn't work, "nothing was happening" when choosing the corresponding option from the formatting toolbar with experimental editing mode enabled. This is due to the system filtering information about other apps/packages with target API level >= 30 for privacy reasons, see [1] for more details. As described at [2], requesting the `CAMERA` permission is not required: > Users might take pictures in your app, using the pre-installed > system camera app. > > In this situation, don't declare the CAMERA permission. Instead, > invoke the ACTION_IMAGE_CAPTURE intent action. In fact, specifying the permission is even counter-productive and would cause this to not work, as also described at [2]: > Note: If your app declares Manifest.permission.CAMERA > permission and is not granted, then the action results in > a SecurityException. Rather than explicitly requesting the permission, just drop it from the AndroidManifest, as it's not needed. Also drop the additional code interacting with the package manager, as that doesn't work with newer API versions as described above. With these changes in place, inserting a photo works fine in tests in API 21 and API 34 AVDs and on the above-mentioned Fairphone 3. [1] https://developer.android.com/training/package-visibility [2] https://developer.android.com/privacy-and-security/minimize-permission-requests#take-photo Change-Id: Ia1ee4e4de577a269e2b79bf5460d08b1bf2bee56 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167603 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Tested-by: Jenkins
2024-05-14android: Don't restrict taking photo to rear cameraMichael Weghorn
Check for `FEATURE_CAMERA_ANY` ("The device has at least one camera pointing in some direction, or can support an external camera being connected to it.") [1] instead of only the rear camera via `FEATURE_CAMERA` ("The device has a camera facing away from the screen.") [2] when taking a photo is selected in the "Insert" menu, as there's no need to restrict this to the rear camera. This addresses this warning shown in Android Studio: > You should look for any camera available on the device, not just the rear Note however that trying to use that feature (with or without this change in place) currently doesn't actually work at least on a current device (e.g. an API 34 AVD), "nothing happens" rather than the camera showing up to be able to take a photo. This will be addressed in an upcoming commit. [1] https://developer.android.com/reference/android/content/pm/PackageManager#FEATURE_CAMERA_ANY [2] https://developer.android.com/reference/android/content/pm/PackageManager#FEATURE_CAMERA Change-Id: I52d2147df8fb3f1fdfb277376d7796380f9a8da0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167602 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-05-14android: Update com.google.android.material:material to 1.12.0Michael Weghorn
Change-Id: I4ac5b67ddf978d6646dbbd67f858ffad3a6adeca Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167587 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-05-14android: Update Android Gradle Plugin to 8.4.0Michael Weghorn
... and gradle to 8.6, as suggested by Android Studio. Update the lint baseline file to initially ignore new warnings that the new version reports. These can be handled separately. Change-Id: I6ecd7300072c16ea583b5ba19b03de89d671b87e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167586 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-05-06android-viewer translated using WeblateWeblate
Asturian currently translated at 100.0% (118 of 118 strings) Change-Id: I5f400c4bcecb6021add6197190e235193fcca4bb Co-authored-by: Adolfo Jayme Barrientos <fito@libreoffice.org> Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ast/ Translation: android-viewer/android-strings Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167105 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-04-22Update translation files for android-viewerWeblate
Updated by "Remove blank strings" hook in Weblate. Change-Id: I860c8e56454c26123414f842517461507b8a0f3f android-viewer translated using Weblate Interlingua currently translated at 63.5% (75 of 118 strings) Change-Id: I9159b9b5b3c37adabb078af9b394214217564538 Added translation for android-viewer using Weblate (Interlingua) Change-Id: I1e6a22c54275747ac05825459574e522e1b0ea40 Co-authored-by: SoftInterlingua <softinterlingua@gmail.com> Co-authored-by: Weblate <noreply@documentfoundation.org> Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ia/ Translation: android-viewer/android-strings Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166116 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-04-15android: Update Android Gradle Plugin to 8.3.2Michael Weghorn
... as suggested by Android Studio. Also update the Lint baseline file, as the build would otherwise fail due to this new warning: > Task :lintReportStrippedUIEditingDebug Wrote HTML report to file:///home/michi/development/git/libreoffice-WORKTREE-android/android/source/build/reports/lint-results-strippedUIEditingDebug.html > Task :lintStrippedUIEditingDebug FAILED /home/michi/development/git/libreoffice-WORKTREE-android/android/source/lint-baseline.xml: Information: 213 errors and 1 warning were filtered out because they are listed in the baseline file, lint-baseline.xml [LintBaseline] /home/michi/development/git/libreoffice-WORKTREE-android/android/source/lint-baseline.xml: Information: 6 errors/warnings were listed in the baseline file (lint-baseline.xml) but not found in the project; perhaps they have been fixed? Another possible explanation is that lint recently stopped analyzing (and including results from) dependent projects by default. You can turn this back on with android.lintOptions.checkDependencies=true. Unmatched issue types: PrivateResource, RedundantNamespace, TypographyEllipsis (3), UnusedNamespace [LintBaseline] /home/michi/development/git/libreoffice-WORKTREE-android/android/source/AndroidManifest.xml:109: Error: Should not restrict activity to fixed orientation. This may not be suitable for different form factors, causing the app to be letterboxed. [DiscouragedApi] android:screenOrientation="landscape" > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Explanation for issues of type "DiscouragedApi": Discouraged APIs are allowed and are not deprecated, but they may be unfit for common use (e.g. due to slow performance or subtle behavior). 1 errors, 0 warnings (213 errors, 1 warning filtered by baseline lint-baseline.xml) FAILURE: Build failed with an exception. Change-Id: I621b2334fef954bcd341cdde9034187f455339e7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166114 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-03-13android-viewer translated using WeblateWeblate
Czech currently translated at 100.0% (118 of 118 strings) Change-Id: I280354b2c931a3d16dd67979e8e47e85f5618955 Co-authored-by: Stanislav Horáček <stanislav.horacek@gmail.com> Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/cs/ Translation: android-viewer/android-strings Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164790 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2024-02-27android-viewer translated using WeblateWeblate
Czech currently translated at 54.2% (64 of 118 strings) Change-Id: Ie43869edb7fffb61603b1a00cf3d2d01397c634e Co-authored-by: raal <raal@post.cz> Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/cs/ Translation: android-viewer/android-strings Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163900 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-02-23android-viewer translated using WeblateWeblate
Czech currently translated at 52.5% (62 of 118 strings) Change-Id: I867b990871692eb3947b48ca51e65716023bf6cc Co-authored-by: Stanislav Horáček <stanislav.horacek@gmail.com> Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/cs/ Translation: android-viewer/android-strings Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163795 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-02-15android-viewer translated using WeblateWeblate
Galician currently translated at 100.0% (118 of 118 strings) Change-Id: Ibb3a34103ad2eee7e5f8ad4aa9f031fb28f9ca51 Co-authored-by: Xosé <xosecalvo@gmail.com> Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/gl/ Translation: android-viewer/android-strings Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163451 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2024-01-25android-viewer translated using WeblateWeblate
Slovak currently translated at 16.1% (19 of 118 strings) Change-Id: I43a99ef5228367157936337424f0b88893bba112 android-viewer translated using Weblate Czech currently translated at 50.0% (59 of 118 strings) Change-Id: I5335d1b9a25312708822ddf890fdb92c02891b25 Added translation for android-viewer using Weblate (Slovak) Change-Id: Icd19b09d4df30882fba4b26a7745419fe73233ba Co-authored-by: Miloš Šrámek <msramek22@gmail.com> Co-authored-by: Stanislav Horáček <stanislav.horacek@gmail.com> Co-authored-by: Weblate <noreply@documentfoundation.org> Co-authored-by: Weblate <noreply@weblate.org> Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/cs/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/sk/ Translation: android-viewer/android-strings Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162472 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-01-21android-viewer translated using WeblateWeblate
Indonesian currently translated at 74.5% (88 of 118 strings) Change-Id: I613b96b66373aa9cb505da4de371b5b058e95f68 android-viewer translated using Weblate Czech currently translated at 13.5% (16 of 118 strings) Change-Id: Ie298906f2643a9e2df5c4e45183c99206d0aeda5 android-viewer translated using Weblate Persian currently translated at 100.0% (118 of 118 strings) Change-Id: I43d6ac950eb3bba2b6359184b063dd40d7d2f15b Co-authored-by: Andika Triwidada <andika@gmail.com> Co-authored-by: Hossein <hossein@libreoffice.org> Co-authored-by: raal <raal@post.cz> Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/cs/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/fa/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/id/ Translation: android-viewer/android-strings Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162328 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2024-01-16android: Update gradle + wrapper to 8.5Michael Weghorn
Commit the result of running ./gradlew wrapper --distribution-type all --gradle-version 8.5 --gradle-distribution-sha256-sum=c16d517b50dd28b3f5838f0e844b7520b8f1eb610f2f29de7e4e04a1b7c9c79b (minus the automatically added `networkTimeout=10000` in `android/source/gradle/wrapper/gradle-wrapper.properties`). This includes the following upstream change for gradle to port from the use of `which` to the more portable `command -v`: [1] Thanks to Eli Schwartz for pointing this out in his previous Gerrit change [2] that was suggesting to only backport that particular change to the wrapper script. [1] https://github.com/gradle/gradle/pull/23961 [2] https://gerrit.libreoffice.org/c/core/+/160667 Change-Id: I1c230c75d2d8583852c59ff43ddfdf77daf5d5ec Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162081 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-01-15android: Update com.google.android.material:material to 1.11.0Michael Weghorn
Change-Id: Ic0f84c275e8780bd2c3da42cb5387587a4e26833 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161883 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-01-15android: Avoid icon name clash with material libraryMichael Weghorn
Rename the file for the keyboard icon from `ic_keyboard_black_24dp.png` to `ic_keyboard_black__24dp.png` (note the extra underscore) to avoid a name clash with an icon of the same name in the Material components: [1] Keeping the same name would result in this lint error when upgrading to material 1.11.0 (which an upcoming commit will do): > Task :lintStrippedUIEditingDebug FAILED /home/michi/development/git/libreoffice-WORKTREE-android/android/source/lint-baseline.xml: Information: 213 errors and 1 warning were filtered out because they are listed in the baseline file, lint-baseline.xml [LintBaseline] /home/michi/development/git/libreoffice-WORKTREE-android/android/source/lint-baseline.xml: Information: 6 errors/warnings were listed in the baseline file (lint-baseline.xml) but not found in the project; perhaps they have been fixed? Another possible explanation is that lint recently stopped analyzing (and including results from) dependent projects by default. You can turn this back on with android.lintOptions.checkDependencies=true. Unmatched issue types: PrivateResource, RedundantNamespace, TypographyEllipsis (3), UnusedNamespace [LintBaseline] /home/michi/development/git/libreoffice-WORKTREE-android/android/source/res/drawable-hdpi/ic_keyboard.xml:4: Error: The resource @drawable/ic_keyboard_black_24dp is marked as private in com.google.android.material:material:1.11.0 [PrivateResource] android:src="@drawable/ic_keyboard_black_24dp" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Explanation for issues of type "PrivateResource": Private resources should not be referenced; the may not be present everywhere, and even where they are they may disappear without notice. To fix this, copy the resource into your own project instead. 1 errors, 0 warnings (213 errors, 1 warning filtered by baseline lint-baseline.xml) (For the currently-used material 1.10.0, this warning was previously ignored since it's already listed in the lint-baseline.xml file, but that doesn't apply any more after an update.) [1] https://github.com/material-components/material-components-android/blob/bb351291a360319df31d5cee27e091c3e64f65a4/lib/java/com/google/android/material/timepicker/res/drawable/ic_keyboard_black_24dp.xml Change-Id: I2babc445c69f1043967118be81905c334a0285d2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161889 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-01-15android: Update Android Gradle Plugin to 8.2.1Michael Weghorn
This was suggested by Android Studio. Change-Id: I7278ce5e5b21477459e40a315912c846ec9b6d57 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161882 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-01-12Added translation for android-viewer using Weblate (Abkhazian)Weblate
Change-Id: I773dd0a06ea44d9978cbb9b169545ef8bd456c6d android-viewer translated using Weblate Italian currently translated at 100.0% (118 of 118 strings) Change-Id: I98f0567a3b5b2fa853b468dfb1aec21230527b42 android-viewer translated using Weblate Italian currently translated at 100.0% (118 of 118 strings) Change-Id: I87ee3f9f46342bc1a4c3c4062a74a7c7afb9b3f9 android-viewer translated using Weblate Czech currently translated at 6.7% (8 of 118 strings) Change-Id: I61735dcce61a859b45619b9b2742220f00ec94bc android-viewer translated using Weblate Italian currently translated at 99.1% (117 of 118 strings) Change-Id: I867af2d187ff54c701d6ec3a2f6b7114acb55aba Co-authored-by: Elisabetta Manuele <calembour@hotmail.it> Co-authored-by: Stanislav Horáček <stanislav.horacek@gmail.com> Co-authored-by: Valter Mura <valtermura@gmail.com> Co-authored-by: Weblate <noreply@documentfoundation.org> Co-authored-by: Андрей Абухба <aabuchba@mail.ru> Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/cs/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/it/ Translation: android-viewer/android-strings Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161721 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-01-05android-viewer translated using WeblateWeblate
Spanish currently translated at 100.0% (118 of 118 strings) Change-Id: Ic665ce7eb865fc0755c9b295229f5dca8ed83ae3 android-viewer translated using Weblate Portuguese currently translated at 100.0% (118 of 118 strings) Change-Id: I4112a3377775ac15c56464fd121d081d31bb6865 Added translation for android-viewer using Weblate (Portuguese) Change-Id: Ifab7260e34b78fcbc9344d79807aa551416b4db2 android-viewer translated using Weblate Hungarian currently translated at 100.0% (118 of 118 strings) Change-Id: Ia4cb99b091c1035ccd1952e0bfb164e986381418 android-viewer translated using Weblate Italian currently translated at 94.0% (111 of 118 strings) Change-Id: I1c1d672a34b8684b5cb17215d0575a91c2c067a6 Co-authored-by: Adolfo Jayme Barrientos <fito@libreoffice.org> Co-authored-by: Gábor Kelemen <gabor.kelemen.extern@allotropia.de> Co-authored-by: Sérgio Marques <smarquespt@gmail.com> Co-authored-by: Valter Mura <valtermura@gmail.com> Co-authored-by: Weblate <noreply@documentfoundation.org> Co-authored-by: Weblate <noreply@weblate.org> Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/es/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/hu/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/it/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/pt/ Translation: android-viewer/android-strings Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161457 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2023-12-30android-viewer translated using WeblateWeblate
Hungarian currently translated at 50.8% (60 of 118 strings) Change-Id: I827a786aca47cb057e3c822d04aba13906ebef2d Added translation for android-viewer using Weblate (Hungarian) Change-Id: Ic660281a13f5b4a1ad0d0bd35618038d143c1994 Co-authored-by: Gábor Kelemen <kelemeng@gnome.hu> Co-authored-by: Weblate <noreply@documentfoundation.org> Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/hu/ Translation: android-viewer/android-strings Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161304 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-12-25android-viewer translated using WeblateWeblate
Dutch currently translated at 100.0% (118 of 118 strings) Change-Id: I59c75900254b4124ff7dc8397a943908404e0a5c android-viewer translated using Weblate Italian currently translated at 35.5% (42 of 118 strings) Change-Id: I73561c67beafbeeee4896d7b2301d1b3970eb030 android-viewer translated using Weblate Asturian currently translated at 100.0% (118 of 118 strings) Change-Id: I83e753b66c856b4fa39cba5bf1de1e44616b1cba android-viewer translated using Weblate Basque currently translated at 100.0% (118 of 118 strings) Change-Id: I6e956873841380aabd1351dbbd07f3466ba28275 android-viewer translated using Weblate French currently translated at 100.0% (118 of 118 strings) Change-Id: I1af1d53bd1daaab3bd0404d8fe75b92e5923b9e2 android-viewer translated using Weblate Punjabi currently translated at 95.7% (113 of 118 strings) Change-Id: I7582795194c21cc6c954884bd4612e9cefc01308 android-viewer translated using Weblate Galician currently translated at 100.0% (118 of 118 strings) Change-Id: Ica6acf55e43ec98648b021b9f38871aedf2581fa android-viewer translated using Weblate Turkish currently translated at 100.0% (118 of 118 strings) Change-Id: If8639fcaf3b5b0447c0b00f5fe85ed55d0bb7cad android-viewer translated using Weblate German currently translated at 100.0% (118 of 118 strings) Change-Id: I0c5795094434899569e18ae6d87c4bed2e10ea01 Co-authored-by: A S Alam <amanpreet.alam@gmail.com> Co-authored-by: Adolfo Jayme Barrientos <fito@libreoffice.org> Co-authored-by: Aitor Salaberria <trslbrr@gmail.com> Co-authored-by: Ayhan YALÇINSOY <ayhanyalcinsoy@gmail.com> Co-authored-by: Christian Kühl <kuehl.christian@googlemail.com> Co-authored-by: Elisabetta Manuele <calembour@hotmail.it> Co-authored-by: Xosé <xosecalvo@gmail.com> Co-authored-by: kees538 <kees538@gmail.com> Co-authored-by: sophie <gautier.sophie@gmail.com> Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ast/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/de/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/eu/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/fr/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/gl/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/it/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/nl/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/pa/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/tr/ Translation: android-viewer/android-strings Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161274 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Jenkins
2023-12-19Added translation for android-viewer using Weblate (Indonesian)Weblate
Change-Id: I55e7159ff10e7bb0ee32651a8f23f2f3a4e1282c android-viewer translated using Weblate Asturian currently translated at 100.0% (118 of 118 strings) Change-Id: Ica863fed7663f5f5c17820a4010262101fcc358c android-viewer translated using Weblate Nepali currently translated at 16.9% (20 of 118 strings) Change-Id: Ifc64ae37b7faa5bad89f70178565595630993420 android-viewer translated using Weblate Greek currently translated at 100.0% (118 of 118 strings) Change-Id: Icb257e6a5cfd38de5a27425f69294e059796e596 android-viewer translated using Weblate Ukrainian currently translated at 100.0% (118 of 118 strings) Change-Id: Iddf1e095b789f2a324fbc614d57b98ab3df8ed0e android-viewer translated using Weblate Asturian currently translated at 100.0% (118 of 118 strings) Change-Id: I318be3807e77e190d857f1d9edd25fc9d7a60c0a android-viewer translated using Weblate Asturian currently translated at 100.0% (118 of 118 strings) Change-Id: If8105733d78073254da1ccd16817581d53ab55b8 android-viewer translated using Weblate Chinese (Traditional) currently translated at 100.0% (118 of 118 strings) Change-Id: I7ef697098031684e32aed137b2ac6bd844ed94fb Added translation for android-viewer using Weblate (Nepali) Change-Id: I2d68cb2696827a6cd6e2ad634873857344c8ac9f android-viewer translated using Weblate Greek currently translated at 57.6% (68 of 118 strings) Change-Id: Ic029d631692c1f47a9d7eeda13ce6ac38a59c3b8 android-viewer translated using Weblate Greek currently translated at 56.7% (67 of 118 strings) Change-Id: Id3456928ecb1a9aab0c27e77fbe49a02540fd8c4 android-viewer translated using Weblate Asturian currently translated at 58.4% (69 of 118 strings) Change-Id: Ibaf90837a1f25d070f9dd8ac183fbca6c26e85c4 android-viewer translated using Weblate Italian currently translated at 11.8% (14 of 118 strings) Change-Id: I64eb0e5cbf5a6ab050c6ef18a1adae68317005d8 android-viewer translated using Weblate Asturian currently translated at 32.2% (38 of 118 strings) Change-Id: Ie470cf5f249a0e498413571cd0b56a5421f5710a android-viewer translated using Weblate Asturian currently translated at 32.2% (38 of 118 strings) Change-Id: I687ae9fe76f85a03f0876f4eda55d943f51b43fb android-viewer translated using Weblate Slovenian currently translated at 100.0% (118 of 118 strings) Change-Id: I0c0cc15c6d5f245311c12d05afd4742db649389d android-viewer translated using Weblate Chinese (Traditional) currently translated at 100.0% (118 of 118 strings) Change-Id: I2ddc5b6a36a512e6e4d1e52c96e282b0ff05f2ea android-viewer translated using Weblate Welsh currently translated at 100.0% (118 of 118 strings) Change-Id: I34dbcafeaf61e7400d07910976ff71fdbe8ae4b0 Added translation for android-viewer using Weblate (Greek) Change-Id: Idfc6ee0a0988f3c414e6e6beee58a96ab5fb9547 Co-authored-by: Adolfo Jayme Barrientos <fito@libreoffice.org> Co-authored-by: Andika Triwidada <andika@gmail.com> Co-authored-by: Cheng-Chia Tseng <pswo10680@gmail.com> Co-authored-by: Dimitris Spingos <dmtrs32@gmail.com> Co-authored-by: Elisabetta Manuele <calembour@hotmail.it> Co-authored-by: Martin Srebotnjak <miles@filmsi.net> Co-authored-by: Po-Yen Huang <jeff.huang@ossii.com.tw> Co-authored-by: Rhoslyn Prys <post@meddal.com> Co-authored-by: Saroj Dhakal <lotusnagarkot@gmail.com> Co-authored-by: Weblate <noreply@documentfoundation.org> Co-authored-by: Weblate <noreply@weblate.org> Co-authored-by: Xandru Martino Ruz <xandrumartino@softastur.org> Co-authored-by: Євген Кондратюк <lachend@gmail.com> Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ast/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/cy/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/el/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/it/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ne/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/sl/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/uk/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/zh_Hant/ Translation: android-viewer/android-strings Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160909 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-12-17android-viewer translated using WeblateWeblate
Lower Sorbian currently translated at 100.0% (118 of 118 strings) Change-Id: Ic20ccfbdde8de842548b79e3b5dfde85f300dc90 android-viewer translated using Weblate Upper Sorbian currently translated at 100.0% (118 of 118 strings) Change-Id: Iddaca4eedc9f022377c81929814856c31067f50d android-viewer translated using Weblate Italian currently translated at 5.9% (7 of 118 strings) Change-Id: I9e0f677f79c7496211959a3360eb166af6226aee Added translation for android-viewer using Weblate (Ukrainian) Change-Id: I130f051543b758544ac3b2a069899870ac16058d android-viewer translated using Weblate Upper Sorbian currently translated at 100.0% (118 of 118 strings) Change-Id: I8655aa3d29866b006f839c93d242332e1102fb4a android-viewer translated using Weblate Czech currently translated at 1.6% (2 of 118 strings) Change-Id: Ib3f028432a47679478f17cadcf031f425293e745 Added translation for android-viewer using Weblate (Lower Sorbian) Change-Id: I1978530538c3808b939729c15fd9a16ed2ab8b3d android-viewer translated using Weblate Icelandic currently translated at 100.0% (118 of 118 strings) Change-Id: Ib7f514c6082fe1b85f6c40f70024cefab8f4b103 android-viewer translated using Weblate Asturian currently translated at 19.4% (23 of 118 strings) Change-Id: I726ac83b54a25b2c12747992f425ac713e33825d android-viewer translated using Weblate Portuguese (Brazil) currently translated at 100.0% (118 of 118 strings) Change-Id: Ib03330ad83be7cd6bf01f99a51870b5eb5c0a316 android-viewer translated using Weblate Armenian currently translated at 100.0% (118 of 118 strings) Change-Id: Idbdaeed85c0cbcfb037de074d34558c10fd978bb Added translation for android-viewer using Weblate (Upper Sorbian) Change-Id: I2f5ca2465e7d788f290656f728da1a3ed001ba19 Added translation for android-viewer using Weblate (Dutch) Change-Id: I9cfed846807c16dd7c9c92d32ada641d89082579 Added translation for android-viewer using Weblate (Icelandic) Change-Id: I120a3e1603867ae60b25531686dbbac5a8086bf2 Added translation for android-viewer using Weblate (Italian) Change-Id: I16661f95066ee125409b7e939721b0070c59cf2d Added translation for android-viewer using Weblate (Asturian) Change-Id: I561826cd41e1de13f8c683a9ffe005cccb2e1246 android-viewer translated using Weblate Czech currently translated at 0.8% (1 of 118 strings) Change-Id: I1fbb418d0c82e587e56dca7b1e751f05fbe256e9 android-viewer translated using Weblate Polish currently translated at 100.0% (118 of 118 strings) Change-Id: I4d9f8bf30b3a084940356258ae929bf061dba129 android-viewer translated using Weblate French currently translated at 32.2% (38 of 118 strings) Change-Id: I327ef925fc254142b4668385a79f502ef0bb888d Added translation for android-viewer using Weblate (Czech) Change-Id: I1215d7ba1a3d4fac3ebf00de9d55ef31753a356e Co-authored-by: Adam Rak <kitynska@gmail.com> Co-authored-by: Adolfo Jayme Barrientos <fito@libreoffice.org> Co-authored-by: Elisabetta Manuele <calembour@hotmail.it> Co-authored-by: Michael Wolf <milupo@sorbzilla.de> Co-authored-by: Olivier Hallot <olivier.hallot@libreoffice.org> Co-authored-by: Stanislav Horáček <stanislav.horacek@gmail.com> Co-authored-by: Sveinn í Felli <sv1@fellsnet.is> Co-authored-by: Tigran Zargaryan <tigranflib@gmail.com> Co-authored-by: Weblate <noreply@documentfoundation.org> Co-authored-by: Weblate <noreply@weblate.org> Co-authored-by: raal <raal@post.cz> Co-authored-by: sophie <gautier.sophie@gmail.com> Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ast/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/cs/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/dsb/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/fr/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/hsb/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/hy/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/is/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/it/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/pl/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/pt_BR/ Translation: android-viewer/android-strings Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160842 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-12-15Update translation files for android-viewerWeblate
Updated by "Cleanup translation files" hook in Weblate. Change-Id: Ie0d7d835fba42e9a8cfb73370a8b153168a9cf9e android-viewer translated using Weblate Slovenian currently translated at 100.0% (132 of 132 strings) Change-Id: Id07e5c018310b97460f7750c2db2f43127c483c5 Added translation for android-viewer using Weblate (Slovenian) Change-Id: Ie9008b437173feb5a871e119fd00e5f134dd0da9 android-viewer translated using Weblate Polish currently translated at 100.0% (132 of 132 strings) Change-Id: Iacacacd662c48986358e904598d458c44ca8805f Added translation for android-viewer using Weblate (Japanese) Change-Id: I3373654075eabc79c42cd2c67daf62f5f7111158 Added translation for android-viewer using Weblate (Chinese (Traditional)) Change-Id: I7af06e08b6567f990641ad532b8b94df2ec7d367 android-viewer translated using Weblate Basque currently translated at 100.0% (132 of 132 strings) Change-Id: I9b29af97d0642fa36c09ce38bf14290f60ccb8cd android-viewer translated using Weblate Polish currently translated at 100.0% (132 of 132 strings) Change-Id: Ie0b345d1dc63102120cb871f8066ed710917e72f android-viewer translated using Weblate Portuguese (Brazil) currently translated at 54.5% (72 of 132 strings) Change-Id: I652b6dde8cd02c9b4baff5ba5453f7471f8eb896 android-viewer translated using Weblate Catalan currently translated at 100.0% (132 of 132 strings) Change-Id: Ic7b42998072d6bb02937e88af76620564abc51b8 Added translation for android-viewer using Weblate (Finnish) Change-Id: Iae55f9b007d7d34162d77c8f62d025fa54ff8035 Added translation for android-viewer using Weblate (Basque) Change-Id: I88291444f52d5f4189c17330f855683268a2bffc android-viewer translated using Weblate Catalan currently translated at 62.1% (82 of 132 strings) Change-Id: I28ec1b2f54d39209f7d802ba9aa899d12b2a3b35 android-viewer translated using Weblate Persian currently translated at 2.2% (3 of 132 strings) Change-Id: I7ba58594540aff2ad592771e73efeeccdff027db android-viewer translated using Weblate Portuguese (Brazil) currently translated at 33.3% (44 of 132 strings) Change-Id: I092277ffea906ad3da9b73e7831536a482bb104f android-viewer translated using Weblate French currently translated at 1.5% (2 of 132 strings) Change-Id: Ia8553c387bec6c66c6def3de9b4b41016ead2bb1 Added translation for android-viewer using Weblate (Polish) Change-Id: Ibe83470b27b286030024f654df5cf30b2cb727ed Added translation for android-viewer using Weblate (Persian) Change-Id: I67bb9684aaa873ca4129139fb340b84634c9fe7e android-viewer translated using Weblate Portuguese (Brazil) currently translated at 20.4% (27 of 132 strings) Change-Id: I628da41052ac2957601226a5e03796bd67744863 Added translation for android-viewer using Weblate (Portuguese (Brazil)) Change-Id: I8ee44239235aaba0c44f805d93d2cb8db4383fab android-viewer translated using Weblate Punjabi currently translated at 87.8% (116 of 132 strings) Change-Id: Ic9ae2d4d5d007638ecf8d58c9069c103d30af7c1 android-viewer translated using Weblate Catalan currently translated at 59.0% (78 of 132 strings) Change-Id: Ib6d7f7e1adf85c57f6de66cf21795c27d6945a03 Added translation for android-viewer using Weblate (French) Change-Id: I936f355b82bf58baea5f1738227b7b1755b23193 Co-authored-by: A S Alam <amanpreet.alam@gmail.com> Co-authored-by: Adam Rak <kitynska@gmail.com> Co-authored-by: Aitor Salaberria <trslbrr@gmail.com> Co-authored-by: Hossein <hossein@libreoffice.org> Co-authored-by: Joan Montané <joan@montane.cat> Co-authored-by: Martin Srebotnjak <miles@filmsi.net> Co-authored-by: Naruhiko Ogasawara <naruoga@gmail.com> Co-authored-by: Olivier Hallot <olivier.hallot@libreoffice.org> Co-authored-by: Tuomas Hietala <tuomas.hietala@iki.fi> Co-authored-by: Weblate <noreply@documentfoundation.org> Co-authored-by: Weblate <noreply@weblate.org> Co-authored-by: sophie <gautier.sophie@gmail.com> Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ca/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/eu/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/fa/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/fr/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/pa/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/pl/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/pt_BR/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/sl/ Translation: android-viewer/android-strings Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160824 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-12-15android: Set sample texts for design viewMichael Weghorn
As cloph suggested in [1], set sample texts for the version and vendor information in the About dialog, using the `tools:text` attribute as described at [2]. These are displayed when viewing the layout in Android Studio's layout preview. With these placeholder texts, this gives a better impression at design time what the actual result will look like at runtime. The actual texts for the view are set at runtime, s. `AboutDialogFragment#onCreateDialog`. [1] https://gerrit.libreoffice.org/c/core/+/160047/comments/52584e2e_50869bef [2] https://developer.android.com/studio/write/tool-attributes#design-time_view_attributes Change-Id: I92b1c3d9f947fd1aa68a3ef4f0eee9e5c742e0c0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160826 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-12-15android: Update lint baselineMichael Weghorn
Update the list of known (tolerated for now) issues by deleting lint-baseline.xml and running `make` to regenerate the file, so recent translation-related (config) changes are reflected. Change-Id: If8a39d72ba83c2a2e0bab9830c69095445943b09 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160818 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-12-15android lint: Drop unused string resourcesMichael Weghorn
This also avoids that these will show up in Weblate, causing unnecessary work for translators since they're unused anyway. IIUC, dropping the strings in already existing translations should be handled automatically by Weblate. (Leave them there to see whether this actually works as expected.) Change-Id: Icab66a1768f5c6250598fcf788377575d3f6f611 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160821 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-12-15android lint: Ignore extra translationsMichael Weghorn
These should be managed automatically via weblate, s. [1], so there shouldn't be any need to manually remove stale strings for all translations. There are 2 lint checks for these, `ExtraTranslations` and `UnusedResources`. Disable `ExtraTranslations` altogether. The `UnusedResources` check seems useful in general, so only disable that for the translations by adding a lint config file `lint.xml` (s.a. [2]) using a wildcard for the path that matches the translation's string.xml files. This is in preparation for Change-Id: Icab66a1768f5c6250598fcf788377575d3f6f611 Author: Michael Weghorn <m.weghorn@posteo.de> Date: Fri Dec 15 10:28:21 2023 +0100 android lint: Drop unused string resources This also avoids that these will show up in Weblate, causing unnecessary work for translators since they're unused anyway. IIUC, dropping the strings in already existing translations should be handled automatically by Weblate. (Leave them there to see whether this actually works as expected.) [1] https://gerrit.libreoffice.org/c/impress_remote/+/155966/comments/769f76c5_c3c499ec [2] https://developer.android.com/studio/write/lint Change-Id: Ic7c7a1c4c5583bf1a42004480435aac70a88dee0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160822 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-12-15android lint: Replace "..." with ellipsis characterMichael Weghorn
Address this lint warning listed in the lint-baseline.xml: <issue id="TypographyEllipsis" message="Replace &quot;...&quot; with ellipsis character (…, &amp;#8230;) ?" errorLine1=" &lt;string name=&quot;action_save_as&quot;>Save As...&lt;/string>" errorLine2=" ~~~~~~~~~~"> <location file="res/values/strings.xml" line="53" column="35"/> </issue> This also helps to avoid introducing more issues of that kind in newly added translations, quoting from cloph's Gerrit comment [1]: > and FYI: if the source-string would end in an Ellipsis, then weblate could > enforce the translation ending in an ellipsis [...] > > ( https://docs.weblate.org/en/latest/user/checks.html#mismatched-ellipsis ) [1] https://gerrit.libreoffice.org/c/core/+/160614/comments/5ef2dc6d_75cde15f Change-Id: Ic056849dd56d7e6c50615ffd62d470df4ab337bb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160817 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-12-15android lint: Ignore missing translationsMichael Weghorn
Translations are handled in Weblate now, so missing translations are tracked there. Therefore, ignore them in the lint check, since there's no added value in having them listed in the `android/source/lint-baseline.xml` file in addition any more. Change-Id: I82945c0eebe015ca9695813dd19613108884c648 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160816 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-12-15android-viewer translated using WeblateWeblate
Catalan currently translated at 57.5% (76 of 132 strings) Change-Id: I477bd8cf847c12e62d00385460caf91f310fa531 Added translation for android-viewer using Weblate (Punjabi) Change-Id: Idad2440113f7f4cbdc0077ac101eb14b9f449f76 Co-authored-by: A S Alam <amanpreet.alam@gmail.com> Co-authored-by: Adolfo Jayme Barrientos <fito@libreoffice.org> Co-authored-by: Weblate <noreply@documentfoundation.org> Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ca/ Translation: android-viewer/android-strings Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160789 Tested-by: Michael Weghorn <m.weghorn@posteo.de> Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-12-14android-viewer translated using WeblateWeblate
Turkish currently translated at 93.9% (124 of 132 strings) Change-Id: I67905c448a119c99417a465ff90968dbf842c4d5 android-viewer translated using Weblate German currently translated at 97.7% (129 of 132 strings) Change-Id: I5b64bae8809d6a0c1366191c00b086ea003dd95a Added translation for android-viewer using Weblate (Kazakh) Change-Id: I3f0a39884167fce6e7bcfde22ee582cdc53115cb android-viewer translated using Weblate Turkish currently translated at 93.1% (123 of 132 strings) Change-Id: I4d5a8084d56fa5c3f803b26ccc31d905d477d504 android-viewer translated using Weblate Catalan currently translated at 56.0% (74 of 132 strings) Change-Id: I5296250e71d015b65f5704cc2ae088f157a5c888 android-viewer translated using Weblate Catalan currently translated at 49.2% (65 of 132 strings) Change-Id: Icfb62bf6f5d1e26efea090726f2379d72238fd6e Co-authored-by: Adolfo Jayme Barrientos <fito@libreoffice.org> Co-authored-by: Baurzhan Muftakhidinov <baurthefirst@gmail.com> Co-authored-by: Christian Lohmaier <cloph@documentfoundation.org> Co-authored-by: Michael Weghorn <m.weghorn@posteo.de> Co-authored-by: Weblate <noreply@documentfoundation.org> Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ca/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/de/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/tr/ Translation: android-viewer/android-strings Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160770 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2023-12-14android lint: Dont' fail on TypographyEllipsis warningMichael Weghorn
After new translations got added in commit 40f850279d912786f7943d97ec6db73ee2bb874f Author: Weblate <noreply@documentfoundation.org> Date: Wed Dec 13 15:33:50 2023 +0100 android-viewer translated using Weblate (Welsh) , the android build started failing like this: > Task :lintReportStrippedUIEditingDebug Wrote HTML report to file:///home/michi/development/git/libreoffice-WORKTREE-android/android/source/build/reports/lint-results-strippedUIEditingDebug.html > Task :lintStrippedUIEditingDebug FAILED Lint found 3 errors, 0 warnings (232 errors, 3 warnings filtered by baseline lint-baseline.xml). First failure: /home/michi/development/git/libreoffice-WORKTREE-android/android/source/res/values-hy/strings.xml:36: Error: Replace "..." with ellipsis character (…, &#8230;) ? [TypographyEllipsis] <string name="action_save_as">Պահել որպես...</string> ~~~~~~~~~~~~~~ The full lint text report is located at: /home/michi/development/git/libreoffice-WORKTREE-android/android/source/build/intermediates/lint_intermediate_text_report/strippedUIEditingDebug/lint-results-strippedUIEditingDebug.txt FAILURE: Build failed with an exception. Downgrade that type of lint check to severity informational to not cause the build to fail. (Changes to address these will need to be done in Weblate, which is now the source of truth for translations.) Change-Id: Ibc82f96d29c8ac76f98db0259e1ee3cae4a986f6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160772 Tested-by: Michael Weghorn <m.weghorn@posteo.de> Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-12-14android-viewer translated using Weblate (Welsh)Weblate
Currently translated at 100.0% (132 of 132 strings) Change-Id: I84d27bd881bb9d9a28d4770aaff50cae81c217a2 android-viewer translated using Weblate (Catalan) Currently translated at 48.4% (64 of 132 strings) Change-Id: Iba9603def2e2ebd3beb993e7188f226a4b3fa260 Added translation for android-viewer using Weblate (Welsh) Change-Id: I2852724a5f0267a7108aca3b4fb887d15c8421bb android-viewer translated using Weblate (Catalan) Currently translated at 46.2% (61 of 132 strings) Change-Id: I148ee4d2ad33aa43dce5ce44ff5eff18df7239b9 Added translation for android-viewer using Weblate (Catalan) Change-Id: I808e3a956f5758959cf9e708e6a3047f779cc024 android-viewer translated using Weblate (Spanish) Currently translated at 100.0% (132 of 132 strings) Change-Id: Id83ee9b9d69499604e7bf3ac15a52e5e4264192e android-viewer translated using Weblate (Spanish) Currently translated at 98.4% (130 of 132 strings) Change-Id: I17e6b0385edb32a6da1871893c646488ec35419f Added translation for android-viewer using Weblate (Spanish) Change-Id: I572a602e665f896905d378294d5485b262b4b934 android-viewer translated using Weblate (Galician) Currently translated at 100.0% (132 of 132 strings) Change-Id: Ic3026fb57a2042e45506d7507223c0b007271fe6 Added translation for android-viewer using Weblate (Galician) Change-Id: I7af380682508b4a12c902c58002884750f4dc5d3 android-viewer translated using Weblate (Armenian) Currently translated at 100.0% (132 of 132 strings) Change-Id: Ia57e0477acc8f14ee597b0b6961e2a3067064a89 Added translation using Weblate (Armenian) Change-Id: Id0c85ec1236b4a9c8a0f95c0d9510db4639e777a Co-authored-by: Adolfo Jayme Barrientos <fito@libreoffice.org> Co-authored-by: Rhoslyn Prys <post@meddal.com> Co-authored-by: Tigran Zargaryan <tigranflib@gmail.com> Co-authored-by: Weblate <noreply@documentfoundation.org> Co-authored-by: Xosé <xosecalvo@gmail.com> Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/ca/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/cy/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/es/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/gl/ Translate-URL: https://translations.documentfoundation.org/projects/android-viewer/android-strings/hy/ Translation: android-viewer/android-strings Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160614 Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2023-12-13android: Make the build fail on new lint warningsMichael Weghorn
In order to avoid introducing new lint errors, also run the `lint<buildVariant>` gradle target when building Android Viewer and set the `warningsAsErrors true` lint option. This makes the build fail on (new) lint errors. See [1] for more details. Downgrade missing translations and issues that can "suddenly" appear without any code changes to the app itself to informational, to prevent (CI) builds from suddenly starting to fail just because a new Android Gradle Plugin version or external library becomes available etc. To be able to avoid introducing new issues without having to address all existing ones right now, use a baseline file ("lint-baseline.xml") as described at [2] which lists all existing issues, so they don't result in a failing build. Those should still be looked into at some point. Updating the baseline file can be done by just removing the existing one and running the build again. (Build will create the new baseline file and fail on first run after deleting the file, then find the new file and succeed in subsequent builds.) [1] https://developer.android.com/studio/write/lint [2] https://developer.android.com/studio/write/lint#customize-the-baseline Change-Id: Iddbe432519ab3040c83c0e977a584b51d3ef1e5b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160199 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>