summaryrefslogtreecommitdiffstats
path: root/src/com/android/mail/browse/AttachmentActionHandler.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/mail/browse/AttachmentActionHandler.java')
-rw-r--r--src/com/android/mail/browse/AttachmentActionHandler.java57
1 files changed, 0 insertions, 57 deletions
diff --git a/src/com/android/mail/browse/AttachmentActionHandler.java b/src/com/android/mail/browse/AttachmentActionHandler.java
index 9d5ec8f25..073de9d05 100644
--- a/src/com/android/mail/browse/AttachmentActionHandler.java
+++ b/src/com/android/mail/browse/AttachmentActionHandler.java
@@ -29,7 +29,6 @@ import android.content.Intent;
import android.net.Uri;
import android.os.Handler;
import android.os.Parcelable;
-import android.view.View;
import com.android.mail.providers.Attachment;
import com.android.mail.providers.Message;
@@ -43,7 +42,6 @@ import com.android.mail.utils.LogUtils;
import com.android.mail.utils.Utils;
import java.util.ArrayList;
-import java.util.List;
public class AttachmentActionHandler {
private static final String PROGRESS_FRAGMENT_TAG = "attachment-progress";
@@ -267,38 +265,6 @@ public class AttachmentActionHandler {
sOptionHandler.handleOption1(mContext, mAccount, mMessage, mAttachment, mFragmentManager);
}
- public static boolean shouldShowAboveBarAttachmentLayout(
- Context context, List<Attachment> attachments) {
- return (sOptionHandler != null) &&
- sOptionHandler.shouldShowAboveBarAttachmentLayout(context, attachments);
- }
-
- public static void setupAboveBarAttachmentLayout(View view) {
- if (sOptionHandler != null) {
- sOptionHandler.setupAboveBarAttachmentLayout(view);
- }
- }
-
- public static void onOverflowOpened(Context context, Attachment attachment) {
- if(sOptionHandler != null) {
- sOptionHandler.onOverflowOpened(context, attachment);
- }
- }
-
- public static void registerDismissListener(Uri conversationUri,
- AboveAttachmentLayoutDismissedListener listener) {
- if (sOptionHandler != null) {
- sOptionHandler.registerDismissListener(conversationUri, listener);
- }
- }
-
- public static void unregisterDismissListeners(Uri conversationUri) {
- if(sOptionHandler != null) {
- sOptionHandler.unregisterDismissListeners(conversationUri);
- }
- }
-
-
/**
* A default, no-op option class. Override this and set it globally with
* {@link AttachmentActionHandler#setOptionHandler(OptionHandler)}.<br>
@@ -316,28 +282,5 @@ public class AttachmentActionHandler {
Attachment attachment, FragmentManager fm) {
// no-op
}
-
- public boolean shouldShowAboveBarAttachmentLayout(
- Context context, List<Attachment> attachments) {
- return false;
- }
-
- public void setupAboveBarAttachmentLayout(View view) { /* no-op */ }
-
- public void onOverflowOpened(Context context, Attachment attachment) { /* no-op */ }
-
- public void registerDismissListener(Uri conversationUri,
- AboveAttachmentLayoutDismissedListener listener) {
- // no-op
- }
-
- public void unregisterDismissListeners(Uri conversationUri) {
- // no-op
- }
}
-
- public interface AboveAttachmentLayoutDismissedListener {
- void onOtherLayoutDismissed();
- }
-
}