Skip to content

Conversation

Kota-Jagadeesh
Copy link
Collaborator

Description (required)

Fixes #6432

What changes did you make and why?

I fixed a crash in the Explore Map when users tapped the recenter button. The crash happened because the app tried to access a list item that didn't exist while removing map markers. I updated the code in ExploreMapFragment.kt to safely remove markers without breaking the list, making the map recentering work smoothly without crashing.

Tests performed (required)

Tested ProdDebug on an emulator with API level 35 and a physical device (Redmi note 13) with API level 35.

Screenshots (for UI changes only)

  • N/A (no UI changes, only crash fix)

Note: Please ensure that you have read CONTRIBUTING.md if this is your first pull request.

Copy link

✅ Generated APK variants!

Copy link
Member

@nicolas-raoul nicolas-raoul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes the issue, thanks!

@nicolas-raoul nicolas-raoul merged commit adb6181 into commons-app:main Oct 11, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

java.lang.ArrayIndexOutOfBoundsException in explore map

2 participants