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

Commit f7e8fc97 authored by John Wu's avatar John Wu
Browse files

Check if ParsedMainComponent is null before dereferencing

Bug: 240151494
Test: m
Change-Id: I2d225efa747df06cb7513d7ace84a06de67ee895
parent 1cc6b202
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1129,7 +1129,7 @@ public class PackageManagerServiceUtils {
                throw new IllegalArgumentException("Unsupported component type");
            }

            if (comp.getIntents().isEmpty()) {
            if (comp == null || comp.getIntents().isEmpty()) {
                continue;
            }