diff options
author | Naseer Ahmed <naseer@codeaurora.org> | 2016-03-14 19:58:14 -0400 |
---|---|---|
committer | Naseer Ahmed <naseer@codeaurora.org> | 2016-03-14 20:02:01 -0400 |
commit | ce07723ac7439d22ceeafd52574cb51d084c2df7 (patch) | |
tree | 5e9da0043ee83cc35906eeec158d3a378183d25b /libqservice | |
parent | 31eeba89492cd6041340cee48a1c3edb1746e3cd (diff) | |
download | display-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.cpp | 3 |
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) { |