mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-30 04:22:18 -05:00
allow state loss when yubikey fragment is loaded
This commit is contained in:
parent
d06ae7f691
commit
f6643962af
@ -596,7 +596,8 @@ public class ViewKeyActivity extends BaseNfcActivity implements
|
||||
manager.beginTransaction()
|
||||
.addToBackStack("yubikey")
|
||||
.replace(R.id.view_key_fragment, frag)
|
||||
.commit();
|
||||
// if this is called while the activity wasn't resumed, just forget it happened
|
||||
.commitAllowingStateLoss();
|
||||
}
|
||||
|
||||
private void encrypt(Uri dataUri, boolean text) {
|
||||
|
Loading…
Reference in New Issue
Block a user