qservice: Allow camera server to call into HWC
Change-Id: I535b97dcc7b7de0d87ef0eb4a2b6f9a82281c80f
CRs-Fixed: 987009
diff --git a/libqservice/IQService.cpp b/libqservice/IQService.cpp
index e4aee7a..f63e411 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 @@
const bool permission = (callerUid == AID_MEDIA ||
callerUid == AID_GRAPHICS ||
callerUid == AID_ROOT ||
+ callerUid == AID_CAMERASERVER ||
callerUid == AID_SYSTEM);
if (code == CONNECT_HWC_CLIENT) {