Skip to content

Commit d3418fb

Browse files
committed
Merge pull request #112819 from nikitalita/add_manage_media_perm
Add `permissions/manage_media` to Android export options
2 parents 98ee65e + 8f60f9d commit d3418fb

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

platform/android/doc_classes/EditorExportPlatformAndroid.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,9 @@
374374
<member name="permissions/manage_external_storage" type="bool" setter="" getter="">
375375
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].
376376
</member>
377+
<member name="permissions/manage_media" type="bool" setter="" getter="">
378+
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].
379+
</member>
377380
<member name="permissions/master_clear" type="bool" setter="" getter="">
378381
See [url=https://developer.android.com/reference/android/Manifest.permission#MASTER_CLEAR]MASTER_CLEAR[/url].
379382
</member>

platform/android/export/export_plugin.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ static const char *ANDROID_PERMS[] = {
138138
"MANAGE_APP_TOKENS",
139139
"MANAGE_DOCUMENTS",
140140
"MANAGE_EXTERNAL_STORAGE",
141+
"MANAGE_MEDIA",
141142
"MASTER_CLEAR",
142143
"MEDIA_CONTENT_CONTROL",
143144
"MODIFY_AUDIO_SETTINGS",

0 commit comments

Comments
 (0)