Commit graph

158 commits

Author SHA1 Message Date
Alexander Borsuk
5c4ea5691b [strings] Regenerated
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-11-17 00:31:12 +01:00
89759d00eb [android][ios] Add "Details on ..." button to hotels
Add an experimental referral link "Details on KAYAK" to hotels on the map.
KAYAK is a metasearch engine that aggregates hundreds of travel sites
at once to find the best deals on the hotel bookings. The website provides
detailed property listings with photos, reviews, and information on
amenities and prices.

As always, Organic Maps doesn’t collect or share any information about
you and/or your device with KAYAK and/or its partners. As KAYAK is
a traditional website, be aware that they may have tracking on their
website like all travel websites.

All hotel bookings via KAYAK using links from the app will generate
a tiny commission to help fund the development of the project. Thanks for
your support of the project!

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2023-11-17 00:30:58 +01:00
98f8140375 [android] Disable R8 optimizations
The source line numbers in the log messages are transformed by R8 in
the complex way, that requires `mapping.txt` to recover the real number.
Disable R8 optimizations for now until we figure out how to maintain
the history of `mapping.txt` for all releases.

Closes #6559

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2023-11-15 13:44:34 +02:00
97b9311c8f [android] Fix ArrayIndexOutOfBoundsException in Logger
Fixes #6558

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2023-11-15 08:37:07 -03:00
fdedc1e8c8 Remove useless tags in toolbar themes
Signed-off-by: Jean-BaptisteC <jeanbaptiste.charron@outlook.fr>
2023-11-14 07:47:41 +01:00
f2c06e1060 [android] Remove buildToolsVersion
The project automatically uses a default version of the build tools that
Gradle plugin specifies.

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2023-11-14 07:56:10 +02:00
47e6fe797d Add new property to fix text color in progress dialog
Signed-off-by: Jean-BaptisteC <jeanbaptiste.charron@outlook.fr>
2023-11-12 20:00:45 +02:00
6cef4b1739 Add button to see password in LoginFragment
Signed-off-by: Jean-BaptisteC <jeanbaptiste.charron@outlook.fr>
2023-11-11 17:57:11 +01:00
576f010fc8 Migrate TextView to Material theming
Signed-off-by: Jean-BaptisteC <jeanbaptiste.charron@outlook.fr>
2023-11-11 12:00:09 +01:00
David Martinez
4c7a7a3c5f [strings] Regenerated
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2023-11-11 00:38:28 +01:00
David Martinez
bf2300602e [strings] Remove duplicated "avoid" strings
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2023-11-11 00:38:28 +01:00
76531aa2b5 [strings] Regenerated strings
Signed-off-by: S. Kozyr <s.trump@gmail.com>
2023-11-11 00:29:17 +01:00
Alexander Borsuk
d1a1ae0fd5 [strings] Regenerated
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-11-10 23:40:07 +01:00
zyphlar
4e997f62f6 [strings] Add Chinese translations per 南山少帅Felix in chat
Signed-off-by: Will Bradley <bradley.will@gmail.com>
2023-11-10 22:28:03 +01:00
b1f88c97bf Fix crash in OSMLoginFragment
Signed-off-by: Jean-BaptisteC <jeanbaptiste.charron@outlook.fr>
2023-11-10 22:11:52 +01:00
440ff84ec2 Update Toolbar themes to MaterialComponents
Signed-off-by: Jean-BaptisteC <jeanbaptiste.charron@outlook.fr>
2023-11-10 22:01:20 +01:00
d4d143a9e7 Migrate appcompat theme to MaterialComponents
Signed-off-by: Jean-BaptisteC <jeanbaptiste.charron@outlook.fr>
2023-11-09 05:35:43 +01:00
d440fa3a2f [Android] Added set of icons for debug builds.
Added color for beta builds.
Added debug icons for Android 7.1-
Added beta icons for Android 7.1-

Signed-off-by: S. Kozyr <s.trump@gmail.com>
2023-11-09 05:34:35 +01:00
Viktor Govako
713984a202 [android][iOS] Fixed brands localization.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2023-11-09 00:11:03 -03:00
21c0175171 Migrate to MaterialAlertDialogBuilder
Signed-off-by: Jean-BaptisteC <jeanbaptiste.charron@outlook.fr>
2023-11-08 23:29:05 -03:00
a530ce0d44 Fix color in time picker
Signed-off-by: Jean-BaptisteC <jeanbaptiste.charron@outlook.fr>
2023-11-08 23:27:00 -03:00
Alexander Borsuk
5b546726b9 [strings] Regenerated ar
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-11-07 10:38:42 +01:00
59c5ead599 [store] Fix F-Droid translations
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2023-11-07 08:33:51 +02:00
កុសិនារា
91088dd8fe [store] Update F-Droid translations (Khmer (Central))
Currently translated at 66.6% (4 of 6 strings)

Signed-off-by: កុសិនារា <kursinarapok@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/organicmaps/fdroid-metadata/km/
2023-11-07 08:33:51 +02:00
mcliquid
c9a5eaaaab [store] Update F-Droid translations (German)
Currently translated at 100.0% (6 of 6 strings)

Signed-off-by: mcliquid <info@mcliquid.de>
Translate-URL: https://hosted.weblate.org/projects/organicmaps/fdroid-metadata/de/
2023-11-07 08:33:51 +02:00
Yusuf
f25211077b [store] Update F-Droid translations (Turkish)
Currently translated at 100.0% (6 of 6 strings)

Signed-off-by: Yusuf <koyuncuo@itu.edu.tr>
Translate-URL: https://hosted.weblate.org/projects/organicmaps/fdroid-metadata/tr/
2023-11-07 08:33:51 +02:00
Jim Kats
03aeb0ad36 [store] Update F-Droid translations (Greek)
Currently translated at 33.3% (2 of 6 strings)

Signed-off-by: Jim Kats <jim-kats@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/organicmaps/fdroid-metadata/el/
2023-11-07 08:33:51 +02:00
Dinyfirmanza Bin Sjarifuddin
8ec5541de8 [store] Update F-Droid translations (Malay)
Currently translated at 83.3% (5 of 6 strings)

Signed-off-by: Dinyfirmanza Bin Sjarifuddin <umodiny@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/organicmaps/fdroid-metadata/ms/
2023-11-07 08:33:51 +02:00
ShareASmile
89c5b8ba1c [store] Update F-Droid translations (Hindi)
Currently translated at 100.0% (6 of 6 strings)

Signed-off-by: ShareASmile <aapshergill@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/organicmaps/fdroid-metadata/hi/

[store] Update F-Droid translations (Bengali (Bangladesh))

Currently translated at 100.0% (6 of 6 strings)

Signed-off-by: ShareASmile <aapshergill@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/organicmaps/fdroid-metadata/bn_BD/
2023-11-07 08:33:51 +02:00
Piotr Strebski
67eb6a1bb4 [store] Update F-Droid translations (Polish)
Currently translated at 100.0% (6 of 6 strings)

Signed-off-by: Piotr Strebski <strebski@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/organicmaps/fdroid-metadata/pl/

[store] Update F-Droid translations (Polish)

Currently translated at 83.3% (5 of 6 strings)

Signed-off-by: Piotr Strebski <strebski@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/organicmaps/fdroid-metadata/pl/
2023-11-07 08:33:51 +02:00
Matheus Gomes Correia
974826e149 [store] Update F-Droid translations (Portuguese (Brazil))
Currently translated at 100.0% (6 of 6 strings)

Signed-off-by: Matheus Gomes Correia <matheus.gomes03@hotmail.com>
Translate-URL: https://hosted.weblate.org/projects/organicmaps/fdroid-metadata/pt_BR/
2023-11-07 08:33:51 +02:00
Linerly
4fe6661388 [store] Update F-Droid translations (Indonesian)
Currently translated at 100.0% (6 of 6 strings)

Signed-off-by: Linerly <linerly@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/organicmaps/fdroid-metadata/id/
2023-11-07 08:33:51 +02:00
ChAJ07
8c9aea79df [store] Update F-Droid translations (Hindi)
Currently translated at 100.0% (6 of 6 strings)

Signed-off-by: ChAJ07 <ajaykumarmeena676@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/organicmaps/fdroid-metadata/hi/
2023-11-07 08:33:51 +02:00
jonnysemon
ab930f18a8 [store] Update F-Droid translations (Arabic)
Currently translated at 66.6% (4 of 6 strings)

Signed-off-by: jonnysemon <jonnysemon@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/organicmaps/fdroid-metadata/ar/
2023-11-07 08:33:51 +02:00
gallegonovato
d80c2fa135 [store] Update F-Droid translations (Spanish)
Currently translated at 100.0% (6 of 6 strings)

Signed-off-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/organicmaps/fdroid-metadata/es/

[store] Update F-Droid translations (Spanish)

Currently translated at 100.0% (6 of 6 strings)

Signed-off-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/organicmaps/fdroid-metadata/es/
2023-11-07 08:33:51 +02:00
nautilusx
08cd25495c [store] Update F-Droid translations (German)
Currently translated at 100.0% (6 of 6 strings)

Signed-off-by: nautilusx <translate@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/organicmaps/fdroid-metadata/de/
2023-11-07 08:33:51 +02:00
Fjuro
1cd4dbbf61 [store] Update F-Droid translations (Czech)
Currently translated at 100.0% (6 of 6 strings)

Signed-off-by: Fjuro <ifjuro@proton.me>
Translate-URL: https://hosted.weblate.org/projects/organicmaps/fdroid-metadata/cs/

[store] Update F-Droid translations (Czech)

Currently translated at 100.0% (6 of 6 strings)

Signed-off-by: Fjuro <ifjuro@proton.me>
Translate-URL: https://hosted.weblate.org/projects/organicmaps/fdroid-metadata/cs/
2023-11-07 08:33:51 +02:00
Oleg Pakhnyuk
969a50851c [store] Update F-Droid translations (English)
Currently translated at 100.0% (6 of 6 strings)

Signed-off-by: Oleg Pakhnyuk <oleg.pakhnyuk@proton.me>
Translate-URL: https://hosted.weblate.org/projects/organicmaps/fdroid-metadata/en/

[store] Update F-Droid translations (English)

Currently translated at 100.0% (6 of 6 strings)

Signed-off-by: Oleg Pakhnyuk <oleg.pakhnyuk@proton.me>
Translate-URL: https://hosted.weblate.org/projects/organicmaps/fdroid-metadata/en/

[store] Update F-Droid translations (English)

Currently translated at 100.0% (6 of 6 strings)

Signed-off-by: Oleg Pakhnyuk <oleg.pakhnyuk@proton.me>
Translate-URL: https://hosted.weblate.org/projects/organicmaps/fdroid-metadata/en/
2023-11-07 08:33:51 +02:00
Anonymous
14bb2104c9 [store] Update F-Droid translations (Georgian)
Currently translated at 83.3% (5 of 6 strings)

Signed-off-by: Anonymous <noreply@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/organicmaps/fdroid-metadata/ka/
2023-11-07 08:33:50 +02:00
Temuri Doghonadze
aa9cd310b0 [store] Update F-Droid translations (Georgian)
Currently translated at 83.3% (5 of 6 strings)

Signed-off-by: Temuri Doghonadze <temuri.doghonadze@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/organicmaps/fdroid-metadata/ka/
2023-11-07 08:33:50 +02:00
Andrew Shkrob
0b5ba1ba7b [android-auto] Accept routing disclaimer before start
Signed-off-by: Andrew Shkrob <andrew.shkrob.social@yandex.by>
2023-11-07 07:41:51 +02:00
Alexander Borsuk
233c3a4625 [strings] Regenerated
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-11-06 09:28:18 +01:00
99ca16849b [android] Add explicit check for PointChooserMode
It is not clear how to reproduce this bug.

See #3945
See #3593

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2023-11-06 08:47:59 +02:00
eb68b90a40 Move FAQ in about fragment
Signed-off-by: Jean-BaptisteC <jeanbaptiste.charron@outlook.fr>
2023-11-06 08:47:36 +02:00
f10ed96d98 Add style to fix text color in dark mode
Signed-off-by: Jean-BaptisteC <jeanbaptiste.charron@outlook.fr>
2023-11-05 22:28:35 +01:00
Alexander Borsuk
2f1434df76 [strings] Regenerated
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-11-05 21:13:23 +01:00
Alexander Borsuk
b94898888a [strings] Renamed Connection Settings button that is displayed when location is disabled to Location Settings
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-11-05 21:13:23 +01:00
dee6320de7 [android] Keep green dot location indicator firing
Subscribe to the low-level GnssStatus/GpsStatus updates to keep
the green dot location indicator in the Android system tray always
firing when the location is used by the app. Otherwise, it fires
only AFTER the GPS has been acquired.

Fixes #4223
Fixes #5999

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2023-11-05 20:33:00 +02:00
ed1854914e [android][drape] Don't show "location timeout" in NotFollowNoPosition
Fixes #6098

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2023-11-05 09:55:10 -03:00
dea91e43ca [android] Keep location in the background in PENDING_LOCATION mode
People don't buy the idea that Organic Maps disables location when
goes into the background. Tickets are constantly filed, and I have
become tired of explaining that this is a feature rather than a bug.

What happens typically:

1. The user launches Organic Maps.
3. Organic Maps subscribes to GPS updates.
4. The Android system tries to do the cold start of GPS if there were no
   other GPS-enabled apps before.
5. In certain cases, GPS takes too long to warm up and location doesn't
   arrive even after 10-20 seconds or even a minute.
6. The user gets tired and switches to other apps to do something productive.
7. Organic Maps disconnects from location services in the background.
8. The Android system deactivates GPS if there are no other apps using it
   (this is the most important part of the story).
9. The next launch of Organic Maps starts this process from the square one.

The presence of other apps with the background location just doesn't allow
the system to shutdown the GPS sensor.

This patch keeps location services in the background if location mode
is PENDING_LOCATION. This probably will not help much without adding
a foreground service like we did for the navigation. All top vendors
like Samsung, OnePlus, Huawei, Xiaomi, Meizu and others will cut off
GPS updates eventually (see https://dontkillmyapp.com). However, this
small fix should help on LineageOS and other opensource firmwares
that are not such power-efficient yet. The majority of the apps
stay subscribed to the location updates when go the background.
We will do other, but only for case when the location search
is in progress.

In context of #4223 and #5999.

Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2023-11-05 09:53:46 -03:00