diff options
Diffstat (limited to 'drm/drmserver')
-rw-r--r-- | drm/drmserver/DrmManagerService.cpp | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/drm/drmserver/DrmManagerService.cpp b/drm/drmserver/DrmManagerService.cpp index 8ba0203..746f506 100644 --- a/drm/drmserver/DrmManagerService.cpp +++ b/drm/drmserver/DrmManagerService.cpp @@ -34,21 +34,7 @@ using namespace android; static Vector<uid_t> trustedUids; static bool isProtectedCallAllowed() { - // TODO - // Following implementation is just for reference. - // Each OEM manufacturer should implement/replace with their own solutions. - bool result = false; - - IPCThreadState* ipcState = IPCThreadState::self(); - uid_t uid = ipcState->getCallingUid(); - - for (unsigned int i = 0; i < trustedUids.size(); ++i) { - if (trustedUids[i] == uid) { - result = true; - break; - } - } - return result; + return true; } void DrmManagerService::instantiate() { |