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

Commit 8a73c38b authored by Brijesh Patel's avatar Brijesh Patel Committed by Pawin Vongmasa
Browse files

av: Register extractors from system_ext partition

Test: Extractor registered from /system_ext/lib[64]/extractors/
      - adb shell dumpsys media.extractor

Bug: 144478932

Change-Id: I1ab60912b5c4580b1dfe5d433acf7eec0d61b0f9
parent c0884de8
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -298,6 +298,12 @@ void MediaExtractorFactory::LoadExtractors() {
#endif
            "/extractors", NULL, *newList);

    RegisterExtractors("/system_ext/lib"
#ifdef __LP64__
            "64"
#endif
            "/extractors", NULL, *newList);

    newList->sort(compareFunc);
    gPlugins = newList;