kitakami-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 TARKZiM
parent dd54e4871c
commit 30d29fa725
2 changed files with 26 additions and 1 deletions

View File

@ -19,7 +19,9 @@
$(call inherit-product, vendor/sony/kitakami-common/kitakami-common-vendor.mk)
# Overlays
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay \
$(LOCAL_PATH)/overlay-lineage
# Radio config
ifneq ($(BOARD_HAVE_RADIO),false)

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2013, 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.
*/
-->
<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>