Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit be4401f6 authored by Jeff Tinker's avatar Jeff Tinker
Browse files

Don't load legacy plugins from /vendor/lib/drm

Only the OMA forward lock plugin remains and it is
loaded from system/lib/drm.

bug:38114169
Change-Id: I8768656c08482b406cacc6d050ff4df72ddca888
parent aec5f27c
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -88,14 +88,9 @@ void DrmManager::removeUniqueId(int uniqueId) {
}

status_t DrmManager::loadPlugIns() {

    String8 vendorPluginDirPath("/vendor/lib/drm");
    loadPlugIns(vendorPluginDirPath);

    String8 pluginDirPath("/system/lib/drm");
    loadPlugIns(pluginDirPath);
    return DRM_NO_ERROR;

}

status_t DrmManager::loadPlugIns(const String8& plugInDirPath) {