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:
committed by
Gerrit - the friendly Code Review server
parent
22dd8e7ef2
commit
fec6c97a83
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user