mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-15 13:25:06 -05:00
allow state loss when yubikey fragment is loaded
This commit is contained in:
parent
a81474b7a5
commit
4b2c8a1309
@ -596,7 +596,8 @@ public class ViewKeyActivity extends BaseNfcActivity implements
|
|||||||
manager.beginTransaction()
|
manager.beginTransaction()
|
||||||
.addToBackStack("yubikey")
|
.addToBackStack("yubikey")
|
||||||
.replace(R.id.view_key_fragment, frag)
|
.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) {
|
private void encrypt(Uri dataUri, boolean text) {
|
||||||
|
Loading…
Reference in New Issue
Block a user