diff options
Diffstat (limited to 'drm')
-rw-r--r-- | drm/drmserver/DrmManagerService.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drm/drmserver/DrmManagerService.cpp b/drm/drmserver/DrmManagerService.cpp index 857d73e..df08f32 100644 --- a/drm/drmserver/DrmManagerService.cpp +++ b/drm/drmserver/DrmManagerService.cpp @@ -93,6 +93,9 @@ bool DrmManagerService::isProtectedCallAllowed(drm_perm_t perm) { return selinuxIsProtectedCallAllowed(spid, perm); } } + if (checkCallingPermission(String16("com.oma.drm.permission.ACCESS_OMA_DRM")) == true) { + return true; + } return false; } |