diff options
author | Daniel Lublin <daniel@lublin.se> | 2023-09-02 12:22:06 +0300 |
---|---|---|
committer | Daniel Lublin <daniel@lublin.se> | 2023-09-02 12:26:35 +0300 |
commit | c66076442af14b72923466d2c98d71c1284c4a28 (patch) | |
tree | 31b4e5a3183ba5375ada6c722cc41293ca2c5c4b /app/src/main/res/values/strings.xml | |
parent | 03f3977b81381c18ccfc2cbb7bbc262932342de2 (diff) |
Request permission to send notifications on Android 13
The use of shouldShowRequestPermissionRational() makes Mumla ask for the
POST_NOTIFICATIONS permission 2 times, and then not again. The
mPermPostNotificationsAsked variable makes it so that the 2nd time will
take place after a complete restart of Mumla. Seems good. Noting that I
don't see any "Never ask again" button in the dialog, which I kind of
expected.
Diffstat (limited to 'app/src/main/res/values/strings.xml')
-rw-r--r-- | app/src/main/res/values/strings.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 78829f2..1f188c5 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -196,6 +196,7 @@ <string name="shout_target">Shouting to %s</string> <string name="shout_configure">Configure Voice Target</string> <string name="grant_perm_microphone">Please grant microphone permission.</string> + <string name="grant_perm_notifications">Please grant permission to send notifications.</string> <string name="grant_perm_storage">Please grant external storage permission.</string> <string name="grant_perm_draw_over_apps">Please grant permission to display over other apps.</string> <string name="orbot_not_installed">The Orbot app is not installed. Not using Tor.</string> |