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

Commit 39a40639 authored by Sungsoo Lim's avatar Sungsoo Lim
Browse files

Send library context to ApiFactory

Test: build
Change-Id: I2bfc5ca5cace1a82c5502391b777dd544acdcf69
parent 6d684ebc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -49,8 +49,8 @@ public final class ApiLoader {
                Context.CONTEXT_INCLUDE_CODE | Context.CONTEXT_IGNORE_SECURITY);
        sMediaLibrary = libContext.getClassLoader()
                .loadClass(UPDATE_CLASS)
                .getMethod(UPDATE_METHOD, Context.class)
                .invoke(null, appContext);
                .getMethod(UPDATE_METHOD, Context.class, Context.class)
                .invoke(null, appContext, libContext);
        return sMediaLibrary;
    }
}