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

Commit 63495c27 authored by Jiyong Park's avatar Jiyong Park
Browse files

Fix missing null checking

Bug: 65666724
Test: build

Change-Id: Ie3fa891da012cbb3f313a33e0e5759f743887480
parent f708dcbf
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -637,7 +637,9 @@ public final class LoadedApk {
        // as unbundled.
        final String defaultSearchPaths = System.getProperty("java.library.path");
        final boolean treatVendorApkAsUnbundled = !defaultSearchPaths.contains("/vendor/lib");
        if (mApplicationInfo.getCodePath().startsWith("/vendor/") && treatVendorApkAsUnbundled) {
        if (mApplicationInfo.getCodePath() != null
                && mApplicationInfo.getCodePath().startsWith("/vendor/")
                && treatVendorApkAsUnbundled) {
            isBundledApp = false;
        }