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

Commit d74d9ff7 authored by Yuxin Hu's avatar Yuxin Hu
Browse files

Add comments clarifying ANGLE lib loading behavior

Flag: DOCS_ONLY
Test: make
Bug: b/370113081
Change-Id: Ifce4116670f4dc32f35f495028eeee8cefb258be
parent e785842d
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -598,6 +598,11 @@ public class GraphicsEnvironment {
        final String abi = chooseAbi(angleInfo);

        // Build a path that includes installed native libs and APK
        // TODO (b/370113081): If the native libraries are not found in this path,
        // the system libraries will be loaded instead.
        // This can happen if the ANGLE APK is present,
        // but accidentally packaged without native libraries.
        // TBD if this should fail instead of falling back to the system version.
        final String paths = angleInfo.nativeLibraryDir
                + File.pathSeparator
                + angleInfo.sourceDir