App crashes if AccessMediaLocation permission is revoked

Open Beginner friendly
#1,196 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
64/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
android, kotlin
Domain
mobile

Research direction

Start by tracing how Gallery requests or checks the Android AccessMediaLocation permission during app launch, then reproduce the crash on Android 15 after revoking it in App Manager. Use the crash output to locate the failing entry point and its related tests. Done means the app launches and runs with the permission either enabled or disabled.

Written by the indexing model from the issue text.

Description

bug needs triage
Checklist
  • I can reproduce the bug with the latest version given here.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.
Affected app version

1.14.0

Affected Android/Custom ROM version

Android 15

Affected device model

Samsung S25 Ultra

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug
  1. App Manager > Uses Permissions > Access_Media_Location > Disable
  2. Launch Gallery
  3. App crashes
Expected behavior

App should be running with this permission enabled or disabled.

Actual behavior

Gallery crashes upon disabling access to media location

ignoreImageMinify
Screenshots/Screen recordings

No response

Additional information

No response

Dominant language
Kotlin
Stars
3.8k
Forks
270
Avg merge
1d 5h
Merged PRs (30d)
14

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from FossifyOrg/Gallery

All issues in FossifyOrg/Gallery

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.