Properly pre-grant notification permission
This commit is contained in:
parent
e78094e197
commit
a0ec8a5ecc
3 changed files with 16 additions and 1 deletions
|
@ -53,6 +53,7 @@ android_app {
|
||||||
required: [
|
required: [
|
||||||
"LocalContactsBackup",
|
"LocalContactsBackup",
|
||||||
"com.stevesoltys.backup_allowlist",
|
"com.stevesoltys.backup_allowlist",
|
||||||
|
"com.stevesoltys.backup_default-permissions",
|
||||||
"com.stevesoltys.backup_privapp_allowlist"
|
"com.stevesoltys.backup_privapp_allowlist"
|
||||||
],
|
],
|
||||||
optimize: {
|
optimize: {
|
||||||
|
@ -68,6 +69,14 @@ prebuilt_etc {
|
||||||
filename_from_src: true,
|
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 {
|
prebuilt_etc {
|
||||||
name: "com.stevesoltys.backup_privapp_allowlist",
|
name: "com.stevesoltys.backup_privapp_allowlist",
|
||||||
system_ext_specific: true,
|
system_ext_specific: true,
|
||||||
|
|
7
default-permissions_com.stevesoltys.seedvault.xml
Normal file
7
default-permissions_com.stevesoltys.seedvault.xml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
|
||||||
|
<exceptions>
|
||||||
|
<exception package="com.stevesoltys.seedvault">
|
||||||
|
<!-- Notifications -->
|
||||||
|
<permission name="android.permission.POST_NOTIFICATIONS" fixed="false"/>
|
||||||
|
</exception>
|
||||||
|
</exceptions>
|
|
@ -7,6 +7,5 @@
|
||||||
<permission name="android.permission.INTERACT_ACROSS_USERS_FULL"/>
|
<permission name="android.permission.INTERACT_ACROSS_USERS_FULL"/>
|
||||||
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
|
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
|
||||||
<permission name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
|
<permission name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
|
||||||
<permission name="android.permission.POST_NOTIFICATIONS"/>
|
|
||||||
</privapp-permissions>
|
</privapp-permissions>
|
||||||
</permissions>
|
</permissions>
|
||||||
|
|
Loading…
Reference in a new issue