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

Commit b53b2bd0 authored by Clara Bayarri's avatar Clara Bayarri
Browse files

Fix crash in ResolverActivity

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


    public final void setFilteredComponents(ComponentName[] components) {
    public final void setFilteredComponents(ComponentName[] components) {