tighten inline attachment view intent builder
Bug: 7659807
Change-Id: I845199fd6848cb5c0a7ebfd2f63f8c3045fffa36
(cherry picked from commit 5687c6dade
)
This commit is contained in:
parent
2172ac410a
commit
135853d3bc
@ -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;
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user