1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00

add permissions/manage_media to android export

This commit is contained in:
nikitalita
2025-11-15 09:06:20 -08:00
parent ef34c3d534
commit 8f60f9de69
2 changed files with 4 additions and 0 deletions

View File

@@ -374,6 +374,9 @@
<member name="permissions/manage_external_storage" type="bool" setter="" getter="">
Allows an application a broad access to external storage in scoped storage. See [url=https://developer.android.com/reference/android/Manifest.permission#MANAGE_EXTERNAL_STORAGE]MANAGE_EXTERNAL_STORAGE[/url].
</member>
<member name="permissions/manage_media" type="bool" setter="" getter="">
Allows an application to modify and delete media files on this device or any connected storage device without user confirmation. Applications must already be granted the [code]READ_EXTERNAL_STORAGE[/code] or [code]MANAGE_EXTERNAL_STORAGE[/code] permissions for this permission to take effect. See [url=https://developer.android.com/reference/android/Manifest.permission#MANAGE_MEDIA]MANAGE_MEDIA[/url].
</member>
<member name="permissions/master_clear" type="bool" setter="" getter="">
See [url=https://developer.android.com/reference/android/Manifest.permission#MASTER_CLEAR]MASTER_CLEAR[/url].
</member>

View File

@@ -138,6 +138,7 @@ static const char *ANDROID_PERMS[] = {
"MANAGE_APP_TOKENS",
"MANAGE_DOCUMENTS",
"MANAGE_EXTERNAL_STORAGE",
"MANAGE_MEDIA",
"MASTER_CLEAR",
"MEDIA_CONTENT_CONTROL",
"MODIFY_AUDIO_SETTINGS",