Don't ignore the result of IntroActivity when the vault is locked

This fixes a bug where AuthActivity would be shown after finishing the intro.
This commit is contained in:
Alexander Bakker 2019-05-30 12:50:40 +02:00
parent b2995955b6
commit b300b72626

View file

@ -148,7 +148,7 @@ public class MainActivity extends AegisActivity implements EntryListView.Listene
}
// don't process any activity results if the vault is locked
if (requestCode != CODE_DECRYPT && _db.isLocked()) {
if (requestCode != CODE_DECRYPT && requestCode != CODE_DO_INTRO && _db.isLocked()) {
return;
}