From 99b398128788c9eb8e6cb59562014b50dea41567 Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Sun, 30 Dec 2018 00:13:46 +0000 Subject: [PATCH] msm8974-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 --- msm8974.mk | 4 +++- .../base/core/res/res/values/config.xml | 24 +++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 overlay-lineage/frameworks/base/core/res/res/values/config.xml diff --git a/msm8974.mk b/msm8974.mk index 26865f0..ec8b715 100644 --- a/msm8974.mk +++ b/msm8974.mk @@ -14,7 +14,9 @@ # limitations under the License. # Overlays -DEVICE_PACKAGE_OVERLAYS += device/samsung/msm8974-common/overlay +DEVICE_PACKAGE_OVERLAYS += \ + device/samsung/msm8974-common/overlay \ + device/samsung/msm8974-common/overlay-lineage # Permissions PRODUCT_COPY_FILES += \ diff --git a/overlay-lineage/frameworks/base/core/res/res/values/config.xml b/overlay-lineage/frameworks/base/core/res/res/values/config.xml new file mode 100644 index 0000000..7f1b247 --- /dev/null +++ b/overlay-lineage/frameworks/base/core/res/res/values/config.xml @@ -0,0 +1,24 @@ + + + + + + true +