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

Commit 7ba9c990 authored by Robert Shih's avatar Robert Shih
Browse files

DrmManager: choose plugin load path based on arch

Bug: 202629223
Test: DRMTest#testForwardLockAccess
Change-Id: I2ff04a0a7b73c1397114a532f83f845042a023fa
parent 09dcfbe9
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -208,7 +208,11 @@ void DrmManager::removeUniqueId(int uniqueId) {
}

status_t DrmManager::loadPlugIns() {
#if __LP64__
    String8 pluginDirPath("/system/lib64/drm");
#else
    String8 pluginDirPath("/system/lib/drm");
#endif
    loadPlugIns(pluginDirPath);
    return DRM_NO_ERROR;
}