tests: Add privapp permissions whitelist
Change-Id: I080784198bdc726e49ed8d2c3fd9874220548b0f
This commit is contained in:
committed by
Michael Bestas
parent
dd5da5e0e2
commit
297b16f4bc
@@ -16,4 +16,14 @@ LOCAL_CERTIFICATE := platform
|
|||||||
|
|
||||||
LOCAL_PRIVATE_PLATFORM_APIS := true
|
LOCAL_PRIVATE_PLATFORM_APIS := true
|
||||||
|
|
||||||
|
LOCAL_REQUIRED_MODULES := privapp_whitelist_org.lineageos.setupwizard-tests.xml
|
||||||
|
|
||||||
include $(BUILD_PACKAGE)
|
include $(BUILD_PACKAGE)
|
||||||
|
|
||||||
|
include $(CLEAR_VARS)
|
||||||
|
LOCAL_MODULE := privapp_whitelist_org.lineageos.setupwizard-tests.xml
|
||||||
|
LOCAL_MODULE_CLASS := ETC
|
||||||
|
LOCAL_MODULE_TAGS := optional
|
||||||
|
LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/permissions
|
||||||
|
LOCAL_SRC_FILES := $(LOCAL_MODULE)
|
||||||
|
include $(BUILD_PREBUILT)
|
||||||
|
24
tests/privapp_whitelist_org.lineageos.setupwizard-tests.xml
Normal file
24
tests/privapp_whitelist_org.lineageos.setupwizard-tests.xml
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
<?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.setupwizard.tests">
|
||||||
|
<permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
|
||||||
|
<permission name="android.permission.CHANGE_CONFIGURATION"/>
|
||||||
|
<permission name="android.permission.STATUS_BAR"/>
|
||||||
|
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
|
||||||
|
</privapp-permissions>
|
||||||
|
</permissions>
|
Reference in New Issue
Block a user