libqservice: Change the permission for SCREEN_REFRESH

Change the SCREEN_REFRESH permission from AID_GRAPHICS to AID_SYSTEM.

Change-Id: I8d732282df481695d8241e3087725784825b756d
This commit is contained in:
Ping Li
2013-03-18 13:24:07 -04:00
committed by Gerrit - the friendly Code Review server
parent 22dd8e7ef2
commit fec6c97a83

View File

@@ -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);