tighten inline attachment view intent builder

Bug: 7659807
Change-Id: I845199fd6848cb5c0a7ebfd2f63f8c3045fffa36
(cherry picked from commit 5687c6dade)
This commit is contained in:
Andy Huang 2014-03-24 19:59:02 -07:00 committed by Martin Hibdon
parent 2172ac410a
commit 135853d3bc

View File

@ -27,6 +27,7 @@ import com.android.mail.browse.InlineAttachmentViewIntentBuilderCreatorHolder;
import com.android.mail.preferences.BasePreferenceMigrator;
import com.android.mail.preferences.PreferenceMigratorHolder;
import com.android.mail.preferences.PreferenceMigratorHolder.PreferenceMigratorCreator;
import com.android.mail.providers.Message;
import com.android.mail.utils.LogTag;
import java.util.Map;
@ -48,13 +49,11 @@ public class EmailApplication extends Application {
new InlineAttachmentViewIntentBuilderCreator() {
@Override
public InlineAttachmentViewIntentBuilder
createInlineAttachmentViewIntentBuilder(
Map<String, String> urlToMessageIdMap,
String account, long conversationId) {
createInlineAttachmentViewIntentBuilder(String account, long conversationId) {
return new InlineAttachmentViewIntentBuilder() {
@Override
public Intent createInlineAttachmentViewIntent(Context context,
String url) {
String url, Message message) {
return null;
}
};