mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 11:42:16 -05:00
Fix code that was broken when fixing warnings.
This commit is contained in:
parent
b1d8e49d72
commit
f5bb836087
@ -501,7 +501,7 @@ public class MessageView extends K9Activity implements OnClickListener
|
||||
{
|
||||
if (uri == null)
|
||||
{
|
||||
restoreMessageReferences(icicle);
|
||||
restoreMessageReferencesExtra(intent);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -563,6 +563,13 @@ public class MessageView extends K9Activity implements OnClickListener
|
||||
mMessageReferences = (ArrayList<MessageReference>) icicle.getSerializable(EXTRA_MESSAGE_REFERENCES);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
private void restoreMessageReferencesExtra(Intent intent)
|
||||
{
|
||||
mMessageReference = (MessageReference) intent.getSerializableExtra(EXTRA_MESSAGE_REFERENCE);
|
||||
mMessageReferences = (ArrayList<MessageReference>) intent.getSerializableExtra(EXTRA_MESSAGE_REFERENCES);
|
||||
}
|
||||
|
||||
private void setupButtonViews()
|
||||
{
|
||||
setOnClickListener(R.id.from);
|
||||
|
Loading…
Reference in New Issue
Block a user