diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-04-08 18:42:41 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-04-08 18:42:41 +0200 |
commit | 0d0d23cb61778ae3b4905a61097339fd6b4a3c64 (patch) | |
tree | 47ffd012c81152004dd08732ef4ff47142759e7a /platform/android | |
parent | 0fd440e95f0f6b531562131c5b721d14494ea839 (diff) | |
parent | 739190ca2b7f1b67a78eff33154a4bfd1964f5c4 (diff) | |
download | redot-engine-0d0d23cb61778ae3b4905a61097339fd6b4a3c64.tar.gz |
Merge pull request #90377 from melquiadess/add-post-notification-permission-to-a-list-of-available-permissions
Android: Add `POST_NOTIFICATIONS` permission to the list of permissions available in the Export dialog
Diffstat (limited to 'platform/android')
-rw-r--r-- | platform/android/doc_classes/EditorExportPlatformAndroid.xml | 3 | ||||
-rw-r--r-- | platform/android/export/export_plugin.cpp | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/platform/android/doc_classes/EditorExportPlatformAndroid.xml b/platform/android/doc_classes/EditorExportPlatformAndroid.xml index b49475b0f2..341d14a3b1 100644 --- a/platform/android/doc_classes/EditorExportPlatformAndroid.xml +++ b/platform/android/doc_classes/EditorExportPlatformAndroid.xml @@ -380,6 +380,9 @@ <member name="permissions/persistent_activity" type="bool" setter="" getter="" deprecated="Deprecated in API level 15."> Allow an application to make its activities persistent. </member> + <member name="permissions/post_notifications" type="bool" setter="" getter="" deprecated=""> + Allow an application to post notifications. Added in API level 33. See [url=https://developer.android.com/develop/ui/views/notifications/notification-permission]Notification runtime permission[/url]. + </member> <member name="permissions/process_outgoing_calls" type="bool" setter="" getter="" deprecated="Deprecated in API level 29."> Allows an application to see the number being dialed during an outgoing call with the option to redirect the call to a different number or abort the call altogether. See [url=https://developer.android.com/reference/android/Manifest.permission#PROCESS_OUTGOING_CALLS]PROCESS_OUTGOING_CALLS[/url]. </member> diff --git a/platform/android/export/export_plugin.cpp b/platform/android/export/export_plugin.cpp index 19e215bfaf..0a766614f2 100644 --- a/platform/android/export/export_plugin.cpp +++ b/platform/android/export/export_plugin.cpp @@ -141,6 +141,7 @@ static const char *android_perms[] = { "MOUNT_UNMOUNT_FILESYSTEMS", "NFC", "PERSISTENT_ACTIVITY", + "POST_NOTIFICATIONS", "PROCESS_OUTGOING_CALLS", "READ_CALENDAR", "READ_CALL_LOG", |