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

Commit cc0e21a0 authored by Hung-ying Tyan's avatar Hung-ying Tyan
Browse files

Remove /vendor/lib[64]/extractors from MediaExtractorFactory

It's a Treble violation for a system process to access vendor files directly.
It's also guarded by sepolicy so the vendor path is not functional anyway.

Bug: 67908547
Bug: 111190371
Test: build aosp_sailfish-userdebug
Change-Id: I9d372277a0d22ce0f11b6a7597c12d2b46d895ea
parent 1a1ef1dd
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -309,12 +309,6 @@ void MediaExtractorFactory::UpdateExtractors(const char *newUpdateApkPath) {
#endif
            "/extractors", *newList);

    RegisterExtractorsInSystem("/vendor/lib"
#ifdef __LP64__
            "64"
#endif
            "/extractors", *newList);

    if (newUpdateApkPath != nullptr) {
        RegisterExtractorsInApk(newUpdateApkPath, *newList);
    }