Skip to content

Commit

Permalink
libqservice: Change the permission for SCREEN_REFRESH
Browse files Browse the repository at this point in the history
Change the SCREEN_REFRESH permission from AID_GRAPHICS to AID_SYSTEM.

Change-Id: I8d732282df481695d8241e3087725784825b756d
  • Loading branch information
Ping Li authored and Gerrit - the friendly Code Review server committed Mar 21, 2013
1 parent bfdd333 commit e3671d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libqservice/IQService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ status_t BnQService::onTransact(
} break;
case SCREEN_REFRESH: {
CHECK_INTERFACE(IQService, data, reply);
if(callerUid != AID_GRAPHICS) {
if(callerUid != AID_SYSTEM) {
ALOGE("display.qservice SCREEN_REFRESH access denied: \
pid=%d uid=%d process=%s",callerPid,
callerUid, callingProcName);
Expand Down

0 comments on commit e3671d1

Please sign in to comment.