BimmerGestalt / BimmerGestalt/IDriveConnectAddons

auto grant screen mirroring permission?

Open
#18 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
95
Forks
30
PR merge metrics
No merged PRs in 30d

Description

Hi,

We could add OP_PROJECT_MEDIA AppOps to the app to make click grant permission without popup an alert.
like: `adb shell cmd appops set PROJECT_MEDIA allow`

so is there a way we can auto-grant it on the car without opening the app and clicking the button?

or how can I change the code to call this func https://github.com/BimmerGestalt/IDriveConnectAddons/blob/main/screen_mirror/src/main/java/io/bimmergestalt/idriveconnectaddons/screenmirror/MainController.kt#L7C17-L7C17

automatically when opening the screen-mirroring menu on the car.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.