msm8226-common: Allow media UID process to access CameraServiceProxy

* This fixes the following error on camera-in-mediaserver devices:

   E CameraService_proxy: Calling UID: 1013 doesn't match expected  camera service UID!

Change-Id: I185e34e8983b286436bfc0fe36cfdf260ef78170
This commit is contained in:
Bruno Martins 2018-12-30 00:13:46 +00:00 committed by Francescodario Cuzzocrea
parent 84ae63a3cb
commit d80cb2505f
2 changed files with 27 additions and 1 deletions

View File

@ -14,7 +14,9 @@
# limitations under the License.
# Overlays
DEVICE_PACKAGE_OVERLAYS += device/samsung/msm8226-common/overlay
DEVICE_PACKAGE_OVERLAYS += \
device/samsung/msm8226-common/overlay \
device/samsung/msm8226-common/overlay-lineage
# Permissions
PRODUCT_COPY_FILES += \

View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2013, The Android Open Source Project
** Copyright 2018, 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.
*/
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Whether to allow process with media UID to access CameraServiceProxy -->
<bool name="config_allowMediaUidForCameraServiceProxy">true</bool>
</resources>