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

Commit 336d29d4 authored by Amith Yamasani's avatar Amith Yamasani
Browse files

Fix NPE in handleBindApplication

Use getPackageManager(), as sPackageManager might not be initialized
yet.

Bug: 35359850
Test: manual
Change-Id: I16f5af613e9f6a6dc776bd2da74779e509899541
parent b3f417ec
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5726,7 +5726,7 @@ public final class ActivityThread {
        // Preload fonts resources
        try {
            final ApplicationInfo info =
                    sPackageManager.getApplicationInfo(
                    getPackageManager().getApplicationInfo(
                            data.appInfo.packageName,
                            PackageManager.GET_META_DATA /*flags*/,
                            UserHandle.myUserId());