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

Commit 9b4ccde8 authored by Clara Bayarri's avatar Clara Bayarri Committed by android-build-merger
Browse files

Fix crash in ResolverActivity

am: 9550f5df

* commit '9550f5df':
  Fix crash in ResolverActivity

Change-Id: I57b593f67937556ea6268be0a43bcd8fe6da6e68
parents 25c0ba01 9550f5df
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) {