mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-14 05:52:52 +00:00
Fix a bug where the intro could never finish for plain text databases
This commit is contained in:
parent
95638b359b
commit
467a877a6d
1 changed files with 5 additions and 4 deletions
|
@ -109,12 +109,13 @@ public class IntroActivity extends AppIntro implements DerivationTask.Callback {
|
|||
@Override
|
||||
public void onDonePressed(Fragment currentFragment) {
|
||||
super.onDonePressed(currentFragment);
|
||||
// wait for the key derivation background task
|
||||
if (_passwordSlot == null || _passwordCipher == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
int cryptType = _authenticatedSlide.getCryptType();
|
||||
// wait for the key derivation background task
|
||||
if (cryptType == CustomAuthenticationSlide.CRYPT_TYPE_NONE ||
|
||||
_passwordSlot == null || _passwordCipher == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
// generate the master key
|
||||
MasterKey masterKey = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue