mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-14 14:02:49 +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
|
@Override
|
||||||
public void onDonePressed(Fragment currentFragment) {
|
public void onDonePressed(Fragment currentFragment) {
|
||||||
super.onDonePressed(currentFragment);
|
super.onDonePressed(currentFragment);
|
||||||
// wait for the key derivation background task
|
|
||||||
if (_passwordSlot == null || _passwordCipher == null) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
int cryptType = _authenticatedSlide.getCryptType();
|
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
|
// generate the master key
|
||||||
MasterKey masterKey = null;
|
MasterKey masterKey = null;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue