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

Commit 6e40abe9 authored by Manjeet Rulhania's avatar Manjeet Rulhania
Browse files

Add null check for component

Change-Id: I128b19c908ac931e26dd1b2db7e5d19e4d2c6f0c
Fix: 341684291
Test: build
parent 8ecc4567
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1252,7 +1252,7 @@ public class PackageManagerServiceUtils {
                }
                final ParsedMainComponent comp = componentInfoToComponent(
                        resolveInfo.getComponentInfo(), resolver, isReceiver);
                if (!comp.getIntents().isEmpty() && intent.getAction() == null) {
                if (comp != null && !comp.getIntents().isEmpty() && intent.getAction() == null) {
                    match = false;
                }
            } else if (c instanceof IntentFilter) {