Fix crash in ResolverActivity
Bug: 28540294
Change-Id: Ib20b1c401e2c28226d9133bb8787f09f09169885
(cherry picked from commit b53b2bd088)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user