Use extra to exclude specific MIME-types for Fast-Track.
This is used so that the header widget can hide the profile
icon when launched while already looking at the profile.
Also fixes http://b/2058751
diff --git a/src/com/android/contacts/ShowOrCreateActivity.java b/src/com/android/contacts/ShowOrCreateActivity.java
index 27fce18..e47a556 100755
--- a/src/com/android/contacts/ShowOrCreateActivity.java
+++ b/src/com/android/contacts/ShowOrCreateActivity.java
@@ -166,9 +166,10 @@
// Use requested display mode, defaulting to medium
final int mode = extras.getInt(Intents.EXTRA_MODE, Intents.MODE_MEDIUM);
+ final String[] excludeMimes = extras.getStringArray(Intents.EXTRA_EXCLUDE_MIMES);
mFastTrack = new FastTrackWindow(this, this);
- mFastTrack.show(aggUri, targetRect, mode);
+ mFastTrack.show(aggUri, targetRect, mode, excludeMimes);
}
/** {@inheritDoc} */