diff options
author | Namit Solanki <nsolanki@codeaurora.org> | 2016-11-02 15:53:43 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-12-13 03:24:03 -0800 |
commit | 03d567945ceb596b65b6482c3cc5e358b39332a9 (patch) | |
tree | f38b8ed02393017657648f3b2ae858cbd4ec30a0 /libqservice | |
parent | 766ae8675eea85a392bbe00f3f912c8ef3087873 (diff) | |
download | display-03d567945ceb596b65b6482c3cc5e358b39332a9.tar.gz |
display: Add HDMI support in APIs exposed by display.
- Remove hardcoded primary display from getActiveConfig() and
getDisplayAttributes() for video decoder to query the secondary
display resolution.
- Add permission for Video decoder UID to call these APIs.
Change-Id: I1ec1e19dda76f2e0e085c52450449bdc13a739fa
CRs-Fixed: 1100704
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 e1c5219c..2d0cbfbd 100644 --- a/libqservice/IQService.cpp +++ b/libqservice/IQService.cpp @@ -93,7 +93,8 @@ status_t BnQService::onTransact( callerUid == AID_ROOT || callerUid == AID_CAMERASERVER || callerUid == AID_AUDIO || - callerUid == AID_SYSTEM); + callerUid == AID_SYSTEM || + callerUid == AID_MEDIA_CODEC); if (code == CONNECT_HWC_CLIENT) { CHECK_INTERFACE(IQService, data, reply); |