summaryrefslogtreecommitdiff
path: root/libqservice
diff options
context:
space:
mode:
authorNaseer Ahmed <naseer@codeaurora.org>2016-03-14 19:58:14 -0400
committerNaseer Ahmed <naseer@codeaurora.org>2016-03-14 20:02:01 -0400
commitce07723ac7439d22ceeafd52574cb51d084c2df7 (patch)
tree5e9da0043ee83cc35906eeec158d3a378183d25b /libqservice
parent31eeba89492cd6041340cee48a1c3edb1746e3cd (diff)
downloaddisplay-ce07723ac7439d22ceeafd52574cb51d084c2df7.tar.gz
qservice: Allow camera server to call into HWC
Change-Id: I535b97dcc7b7de0d87ef0eb4a2b6f9a82281c80f CRs-Fixed: 987009
Diffstat (limited to 'libqservice')
-rw-r--r--libqservice/IQService.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libqservice/IQService.cpp b/libqservice/IQService.cpp
index e4aee7af..f63e4116 100644
--- a/libqservice/IQService.cpp
+++ b/libqservice/IQService.cpp
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2010 The Android Open Source Project
- * Copyright (C) 2012-2014, The Linux Foundation. All rights reserved.
+ * Copyright (C) 2012-2016, The Linux Foundation. All rights reserved.
*
* Not a Contribution, Apache license notifications and license are
* retained for attribution purposes only.
@@ -97,6 +97,7 @@ status_t BnQService::onTransact(
const bool permission = (callerUid == AID_MEDIA ||
callerUid == AID_GRAPHICS ||
callerUid == AID_ROOT ||
+ callerUid == AID_CAMERASERVER ||
callerUid == AID_SYSTEM);
if (code == CONNECT_HWC_CLIENT) {