mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 19:52:17 -05:00
Removed unused method
This commit is contained in:
parent
dfc370c057
commit
e9e9d5afcb
@ -349,29 +349,20 @@ public class MessageView extends K9Activity implements OnClickListener {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public static void actionView(Context context, MessageReference messRef, ArrayList<MessageReference> messReferences, final Intent originatingIntent) {
|
|
||||||
actionView(context, messRef, messReferences, null, originatingIntent);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param context
|
* @param context
|
||||||
* @param messRef
|
* @param messRef
|
||||||
* @param messReferences
|
* @param messReferences
|
||||||
* @param extras
|
|
||||||
* @param originatingIntent
|
* @param originatingIntent
|
||||||
* The intent that allow us to get back to the calling screen, for when the 'Manage
|
* The intent that allow us to get back to the calling screen, for when the 'Manage
|
||||||
* BACK' option is enabled. Never {@code null}.
|
* BACK' option is enabled. Never {@code null}.
|
||||||
*/
|
*/
|
||||||
public static void actionView(Context context, MessageReference messRef, ArrayList<MessageReference> messReferences, Bundle extras, final Intent originatingIntent) {
|
public static void actionView(Context context, MessageReference messRef, ArrayList<MessageReference> messReferences, final Intent originatingIntent) {
|
||||||
Intent i = new Intent(context, MessageView.class);
|
Intent i = new Intent(context, MessageView.class);
|
||||||
i.putExtra(EXTRA_MESSAGE_REFERENCE, messRef);
|
i.putExtra(EXTRA_MESSAGE_REFERENCE, messRef);
|
||||||
i.putParcelableArrayListExtra(EXTRA_MESSAGE_REFERENCES, messReferences);
|
i.putParcelableArrayListExtra(EXTRA_MESSAGE_REFERENCES, messReferences);
|
||||||
i.putExtra(EXTRA_ORIGINATING_INTENT, originatingIntent);
|
i.putExtra(EXTRA_ORIGINATING_INTENT, originatingIntent);
|
||||||
i.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP|Intent.FLAG_ACTIVITY_NEW_TASK );
|
i.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP|Intent.FLAG_ACTIVITY_NEW_TASK );
|
||||||
if (extras != null) {
|
|
||||||
i.putExtras(extras);
|
|
||||||
}
|
|
||||||
context.startActivity(i);
|
context.startActivity(i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user