davinci: wfd: Add QTI privapp permissions
Co-authored-by: Fabian Leutenegger <fabian.leutenegger@bluewin.ch> Change-Id: I888a2334e7795e327177a6036f549eaffb27cf8b
This commit is contained in:
parent
4575d7e7d5
commit
ef1a06ec19
31
configs/permissions/system_privapp-permissions-qti.xml
Normal file
31
configs/permissions/system_privapp-permissions-qti.xml
Normal file
@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (c) 2017, The Linux Foundation. All rights reserved.
|
||||
~ Not a Contribution.
|
||||
-->
|
||||
<!--
|
||||
~ Copyright (C) 2016 The Android Open Source 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
|
||||
-->
|
||||
<!--
|
||||
This XML file declares which signature|privileged permissions should be
|
||||
granted to privileged applications on QTI devices.
|
||||
It allows additional grants on top of privapp-permissions-platform.xml
|
||||
-->
|
||||
<permissions>
|
||||
<privapp-permissions package="com.qualcomm.wfd.service">
|
||||
<permission name="android.permission.READ_FRAME_BUFFER"/>
|
||||
<permission name="android.permission.WRITE_MEDIA_STORAGE"/>
|
||||
</privapp-permissions>
|
||||
</permissions>
|
@ -237,7 +237,8 @@ PRODUCT_PACKAGES += \
|
||||
# QTI
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/configs/permissions/product_privapp-permissions-qti.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/product_privapp-permissions-qti.xml \
|
||||
$(LOCAL_PATH)/configs/permissions/qti_whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/qti_whitelist.xml
|
||||
$(LOCAL_PATH)/configs/permissions/qti_whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/qti_whitelist.xml \
|
||||
$(LOCAL_PATH)/configs/permissions/system_privapp-permissions-qti.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/system_privapp-permissions-qti.xml \
|
||||
|
||||
# RCS
|
||||
PRODUCT_PACKAGES += \
|
||||
|
Loading…
Reference in New Issue
Block a user