osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.66k stars 1.02k forks source link

No more than 6 tracks showing in Android Auto, crashes when loading them #20448

Open galagithub opened 3 months ago

galagithub commented 3 months ago

Description

I imported 18 tracks in OsmAnd, it worked well, I can see them in the app and select them for navigation.

However, when trying to do the same in AndroidAuto, the app only shows the first 6 tracks and if I scroll downward it crashes. I had to add them into 4 separate folders to get them to load in AndroidAuto.

Steps to reproduce

Import more than 6 tracks in OsmAnd. Use Android Auto to select tracks.

Actual result

Only the first 6 tracks are selectable in AndroidAuto. App crashes while scrolling down for more tracks

Expected result

All tracks should be selectable and app should not crash.

Your Environment (required)

OsmAnd Version: plus 4.8.4
Android/iOS version: Android 14
Device model: Motorola g23
Crash-Logs: N/A
vshcherb commented 2 months ago

Tried with >10 tracks some of them where > 1-5 MB, it was displayed ok.

I suspect this issue might be related to device specifics (GPU memory) and it might be fixed in 4.9 (nightly build) where we added Battery Saving mechanism and do some further improvements how tracks are displayed