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

Commit 66588321 authored by Michael Bestas's avatar Michael Bestas
Browse files

LineageParts: Add privapp permissions xml

Change-Id: Idf41d848cd2f056e9f3cb79eb7191c779300b564
parent ad4b31c3
Loading
Loading
Loading
Loading
+12 −1
Original line number Diff line number Diff line
/*
 * Copyright (C) 2019 The LineageOS Project
 * Copyright (C) 2019-2020 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.
@@ -43,4 +43,15 @@ android_app {
        "jsr305",
        "org.lineageos.platform.internal",
    ],

    required: [
        "privapp_whitelist_org.lineageos.lineageparts"
    ],
}

prebuilt_etc {
    name: "privapp_whitelist_org.lineageos.lineageparts",
    sub_dir: "permissions",
    src: "privapp_whitelist_org.lineageos.lineageparts.xml",
    filename_from_src: true,
}
+24 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2017-2020 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.
-->
<permissions>
    <privapp-permissions package="org.lineageos.lineageparts">
        <permission name="android.permission.CHANGE_CONFIGURATION"/>
        <permission name="android.permission.READ_SEARCH_INDEXABLES"/>
        <permission name="android.permission.WRITE_MEDIA_STORAGE"/>
        <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
    </privapp-permissions>
</permissions>