Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when importing if PreferencesFragment is restored from instance state #456

Closed
alexbakker opened this issue Jun 7, 2020 · 0 comments
Labels
bug A bug report bug-confirmed A confirmed and reproducible bug report

Comments

@alexbakker
Copy link
Member

When importing, the app crashes if the PreferencesFragment is restored from instance state after selecting the file to import. This can easily be reproduced by enabling "Don't keep activities" in developer options and trying to use the import function in Aegis.

This happens because the following three fields are not restored:

private Class<? extends DatabaseImporter> _importerType;
private AegisImporter.State _importerState;
private UUIDMap<VaultEntry> _importerEntries;

@alexbakker alexbakker added bug A bug report bug-confirmed A confirmed and reproducible bug report labels Jun 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug report bug-confirmed A confirmed and reproducible bug report
Projects
None yet
Development

No branches or pull requests

1 participant