maplibre / maplibre/MapLibre-Android-Auto-Sample

Permission Screen on Android 15

Open
#9 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
29
Forks
9
PR merge metrics
No merged PRs in 30d

Description

Opening the permission screen on Android 15 currently creates an exception:
`java.lang.SecurityException: Permission Denial: starting Intent { flg=0x10000000 cmp=nl.flitsmeister.maplibrecar/nl.flitsmeister.car_common.PhonePermissionActivity } from ProcessRecord{82b6400 16264:nl.flitsmeister.maplibrecar/u0a463} (pid=16264, uid=10463) with launchDisplayId=39
2024-12-21 10:52:48.320 16264-16264 System.err nl.flitsmeister.maplibrecar W at android.os.Parcel.createExceptionOrNull(Parcel.java:3231)`

We have found two reasons for this:
- Start activity seems to require applicationContext
- Update to the latest auto BETA at 1.7.X

Contributor guide

Open the contributing guide

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.

Research direction

Reproduce the permission-screen failure on Android 15 and inspect the activity-launch path mentioned in the report. Check whether the start requires applicationContext and whether updating to the latest Auto beta at 1.7.x changes the result; done means the permission screen opens without the reported SecurityException.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.