mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-24 02:12:15 -05:00
APG-related messageview bugfixes
This commit is contained in:
parent
0c426c9c4b
commit
8bc984f440
@ -751,6 +751,8 @@ public class MessageView extends K9Activity implements OnClickListener
|
||||
mMessageContentView.setVisibility(View.VISIBLE);
|
||||
}
|
||||
|
||||
setupDecryptLayout();
|
||||
|
||||
setTitle("");
|
||||
Intent intent = getIntent();
|
||||
Uri uri = intent.getData();
|
||||
@ -815,13 +817,9 @@ public class MessageView extends K9Activity implements OnClickListener
|
||||
next.requestFocus();
|
||||
}
|
||||
|
||||
|
||||
setupCryptoLayout();
|
||||
setupHeaderLayout();
|
||||
setupButtonViews();
|
||||
|
||||
|
||||
|
||||
displayMessage(mMessageReference);
|
||||
}
|
||||
|
||||
@ -938,7 +936,7 @@ public class MessageView extends K9Activity implements OnClickListener
|
||||
mAttachmentIcon.setVisibility(View.GONE);
|
||||
}
|
||||
|
||||
private void setupCryptoLayout()
|
||||
private void setupDecryptLayout()
|
||||
{
|
||||
mDecryptLayout = (View) findViewById(R.id.layout_decrypt);
|
||||
mDecryptButton = (Button) findViewById(R.id.btn_decrypt);
|
||||
@ -1025,8 +1023,7 @@ public class MessageView extends K9Activity implements OnClickListener
|
||||
{
|
||||
super.onRestoreInstanceState(savedInstanceState);
|
||||
setLoadPictures(savedInstanceState.getBoolean(SHOW_PICTURES));
|
||||
initializeCrypto((PgpData) savedInstanceState.getSerializable(STATE_PGP_DATA)
|
||||
);
|
||||
initializeCrypto((PgpData) savedInstanceState.getSerializable(STATE_PGP_DATA));
|
||||
updateDecryptLayout();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user