From 46e19516cd8a9ca277a6be6ae84d00116c3295d4 Mon Sep 17 00:00:00 2001 From: Torsten Grote Date: Tue, 23 Aug 2022 10:59:37 -0300 Subject: [PATCH] Add POST_NOTIFICATIONS permission and pre-grant it --- README.md | 1 + app/src/main/AndroidManifest.xml | 2 ++ permissions_com.stevesoltys.seedvault.xml | 1 + storage/demo/src/main/AndroidManifest.xml | 2 ++ 4 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 5c457a94..216caa85 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,7 @@ It uses the same internal APIs as `adb backup` which is deprecated and thus need * `android.permission.MANAGE_DOCUMENTS` to retrieve the available storage roots (optional) for better UX. * `android.permission.USE_BIOMETRIC` to authenticate saving a new recovery code * `android.permission.INTERACT_ACROSS_USERS_FULL` to use storage roots in other users (optional). +* `android.permission.POST_NOTIFICATIONS` to inform users about backup status and errors. ## Contributing Bug reports and pull requests are welcome on GitHub at https://github.com/seedvault-app/seedvault. diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 8fcb13f7..33c90530 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -16,6 +16,8 @@ + + + diff --git a/storage/demo/src/main/AndroidManifest.xml b/storage/demo/src/main/AndroidManifest.xml index 43a2b25c..15b03a47 100644 --- a/storage/demo/src/main/AndroidManifest.xml +++ b/storage/demo/src/main/AndroidManifest.xml @@ -2,6 +2,8 @@ + +