From 0eca87df51a222a42ec0160092ad71deb109b6d0 Mon Sep 17 00:00:00 2001 From: melquiadess <31paths@gmail.com> Date: Mon, 8 Apr 2024 09:09:25 +0100 Subject: [PATCH] Add POST_NOTIFICATIONS permission to the list of permissions available in the Export dialog (cherry picked from commit 739190ca2b7f1b67a78eff33154a4bfd1964f5c4) --- platform/android/doc_classes/EditorExportPlatformAndroid.xml | 3 +++ platform/android/export/export_plugin.cpp | 1 + 2 files changed, 4 insertions(+) diff --git a/platform/android/doc_classes/EditorExportPlatformAndroid.xml b/platform/android/doc_classes/EditorExportPlatformAndroid.xml index a6f92158f94..88cbe07ae58 100644 --- a/platform/android/doc_classes/EditorExportPlatformAndroid.xml +++ b/platform/android/doc_classes/EditorExportPlatformAndroid.xml @@ -371,6 +371,9 @@ Allow an application to make its activities persistent. Deprecated in API level 15. + + 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]. + 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]. Deprecated in API level 29. diff --git a/platform/android/export/export_plugin.cpp b/platform/android/export/export_plugin.cpp index e131d601435..5fd0039fb72 100644 --- a/platform/android/export/export_plugin.cpp +++ b/platform/android/export/export_plugin.cpp @@ -140,6 +140,7 @@ static const char *android_perms[] = { "MOUNT_UNMOUNT_FILESYSTEMS", "NFC", "PERSISTENT_ACTIVITY", + "POST_NOTIFICATIONS", "PROCESS_OUTGOING_CALLS", "READ_CALENDAR", "READ_CALL_LOG",