From a0ec8a5ecc50d7d8369b86d1e73d1e34705bc31f Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Tue, 13 Sep 2022 19:18:25 +0300 Subject: [PATCH] Properly pre-grant notification permission --- Android.bp | 9 +++++++++ default-permissions_com.stevesoltys.seedvault.xml | 7 +++++++ permissions_com.stevesoltys.seedvault.xml | 1 - 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 default-permissions_com.stevesoltys.seedvault.xml diff --git a/Android.bp b/Android.bp index 74168260..04c3cc12 100644 --- a/Android.bp +++ b/Android.bp @@ -53,6 +53,7 @@ android_app { required: [ "LocalContactsBackup", "com.stevesoltys.backup_allowlist", + "com.stevesoltys.backup_default-permissions", "com.stevesoltys.backup_privapp_allowlist" ], optimize: { @@ -68,6 +69,14 @@ prebuilt_etc { filename_from_src: true, } +prebuilt_etc { + name: "com.stevesoltys.backup_default-permissions", + system_ext_specific: true, + sub_dir: "default-permissions", + src: "default-permissions_com.stevesoltys.seedvault.xml", + filename_from_src: true, +} + prebuilt_etc { name: "com.stevesoltys.backup_privapp_allowlist", system_ext_specific: true, diff --git a/default-permissions_com.stevesoltys.seedvault.xml b/default-permissions_com.stevesoltys.seedvault.xml new file mode 100644 index 00000000..656e7115 --- /dev/null +++ b/default-permissions_com.stevesoltys.seedvault.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/permissions_com.stevesoltys.seedvault.xml b/permissions_com.stevesoltys.seedvault.xml index 43cc5c5d..d7bf61ed 100644 --- a/permissions_com.stevesoltys.seedvault.xml +++ b/permissions_com.stevesoltys.seedvault.xml @@ -7,6 +7,5 @@ -