Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit a1540486 authored by Michael Bestas's avatar Michael Bestas
Browse files

DeskClock: Pre-grant notification permission

Change-Id: I583ceb080f53954a56d552ad049d9bb09c2f8be0
parent fda34999
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -34,7 +34,8 @@ android_app {
        "androidx-constraintlayout_constraintlayout"
    ],
    required: [
        "com.android.deskclock_allowlist"
        "com.android.deskclock_allowlist",
        "com.android.deskclock_default-permissions"
    ],
}

@@ -45,3 +46,11 @@ prebuilt_etc {
    src: "com.android.deskclock_allowlist.xml",
    filename_from_src: true,
}

prebuilt_etc {
    name: "com.android.deskclock_default-permissions",
    product_specific: true,
    sub_dir: "default-permissions",
    src: "com.android.deskclock_default-permissions.xml",
    filename_from_src: true,
}
+22 −0
Original line number Diff line number Diff line
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<!--
     Copyright (C) 2022 The LineageOS Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<exceptions>
    <exception package="com.android.deskclock">
        <!-- Notifications -->
        <permission name="android.permission.POST_NOTIFICATIONS" fixed="false"/>
    </exception>
</exceptions>