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

Commit 21d1a441 authored by Clara Bayarri's avatar Clara Bayarri Committed by Android (Google) Code Review
Browse files

Merge "Fix crash in ResolverActivity"

parents d698b9d3 b53b2bd0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -363,11 +363,12 @@ public class ResolverActivity extends Activity {
        if (isVoiceInteraction()) {
            onSetupVoiceInteraction();
        }
        final Set<String> categories = intent.getCategories();
        MetricsLogger.action(this, mAdapter.hasFilteredItem()
                ? MetricsProto.MetricsEvent.ACTION_SHOW_APP_DISAMBIG_APP_FEATURED
                : MetricsProto.MetricsEvent.ACTION_SHOW_APP_DISAMBIG_NONE_FEATURED,
                intent.getAction() + ":" + intent.getType() + ":"
                        + Arrays.toString(intent.getCategories().toArray()));
                        + (categories != null ? Arrays.toString(categories.toArray()) : ""));
    }

    public final void setFilteredComponents(ComponentName[] components) {