Panic button delete action doesn't remove DB password
Steps to reproduce:
- Choose Ripple as the panic button app
- Enable the delete account action
- Sign out of Briar
- Trigger Ripple's panic button
- Re-launch Briar from the recents menu
- The password prompt is shown
- Sign in
- The dashboard is shown, then it disappears
- Re-launch Briar from the recents menu
- This time the setup screen is shown, as expected
My guess is that the shared preferences DB containing the password-encrypted database key isn't being deleted by the panic action. But after the first re-launch, Briar detects that the main database is missing and deletes the shared preferences DB.
Tested on a Samsing Galaxy Nexus (Android 4.3).