LineageSettingsProvider: Add privapp permissions xml
Change-Id: Ic3b263a94b9269a478c162cd01073870e518df94
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// Copyright (C) 2018 The LineageOS Project
|
||||
// Copyright (C) 2018-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.
|
||||
@@ -25,4 +25,15 @@ android_app {
|
||||
static_libs: [
|
||||
"org.lineageos.platform.internal",
|
||||
],
|
||||
|
||||
required: [
|
||||
"privapp_whitelist_org.lineageos.lineagesettings"
|
||||
],
|
||||
}
|
||||
|
||||
prebuilt_etc {
|
||||
name: "privapp_whitelist_org.lineageos.lineagesettings",
|
||||
sub_dir: "permissions",
|
||||
src: "privapp_whitelist_org.lineageos.lineagesettings.xml",
|
||||
filename_from_src: true,
|
||||
}
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
<?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>
|
||||
<!-- Compatibility for upgrades from old package name -->
|
||||
<privapp-permissions package="org.cyanogenmod.cmsettings">
|
||||
<permission name="android.permission.MANAGE_USERS"/>
|
||||
</privapp-permissions>
|
||||
<privapp-permissions package="org.lineageos.lineagesettings">
|
||||
<permission name="android.permission.MANAGE_USERS"/>
|
||||
</privapp-permissions>
|
||||
</permissions>
|
||||
Reference in New Issue
Block a user