hwcamera2: Add privapp permissions

cm-14.1
Nolen Johnson 5 years ago
parent 5615315abe
commit a38d837e8c
  1. 1
      oem-cameras/HwCamera2/HwCamera2.mk
  2. 34
      oem-cameras/HwCamera2/privapp-permissions-huawei.xml

@ -2,6 +2,7 @@ PRODUCT_PACKAGES += \
HwCamera2 HwCamera2
PRODUCT_COPY_FILES := \ PRODUCT_COPY_FILES := \
vendor/extra/oem-cameras/HwCamera2/privapp-permissions-huawei.xml:system/etc/permissions/privapp-permissions-huawei.xml \
vendor/extra/oem-cameras/HwCamera2/lib/arm/libfyusenet.so:system/priv-app/oem-cameras/HwCamera2/lib/arm/libfyusenet.so \ vendor/extra/oem-cameras/HwCamera2/lib/arm/libfyusenet.so:system/priv-app/oem-cameras/HwCamera2/lib/arm/libfyusenet.so \
vendor/extra/oem-cameras/HwCamera2/lib/arm/libgif_maker.so:system/priv-app/oem-cameras/HwCamera2/lib/arm/libgif_maker.so \ vendor/extra/oem-cameras/HwCamera2/lib/arm/libgif_maker.so:system/priv-app/oem-cameras/HwCamera2/lib/arm/libgif_maker.so \
vendor/extra/oem-cameras/HwCamera2/lib/arm/libHW_Pano_f.so:system/priv-app/oem-cameras/HwCamera2/lib/arm/libHW_Pano_f.so \ vendor/extra/oem-cameras/HwCamera2/lib/arm/libHW_Pano_f.so:system/priv-app/oem-cameras/HwCamera2/lib/arm/libHW_Pano_f.so \

@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2019 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="com.huawei.camera">
<permission name="android.permission.WRITE_MEDIA_STORAGE"/>
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
<permission name="android.permission.STOP_APP_SWITCHES"/>
<permission name="android.permission.REAL_GET_TASKS"/>
<permission name="android.permission.MANAGE_USERS"/>
<permission name="android.permission.INTERACT_ACROSS_USERS"/>
<permission name="android.permission.READ_FRAME_BUFFER"/>
<permission name="android.permission.WRITE_MEDIA_STORAGE"/>
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
<permission name="android.permission.STOP_APP_SWITCHES"/>
<permission name="android.permission.REAL_GET_TASKS"/>
<permission name="android.permission.MANAGE_USERS"/>
<permission name="android.permission.INTERACT_ACROSS_USERS"/>
<permission name="android.permission.READ_FRAME_BUFFER"/>
</privapp-permissions>
</permissions>
Loading…
Cancel
Save