PanicResponder doesn't return when deleting app data
When responding to a panic button intent we call PanicResponder.deleteAllAppData() before signing out. It looks like this method may cause the process to exit, as the log message that should be logged immediately after it returns ("Signing out...") doesn't show up in the log.
When I tried refactoring this call into AccountManager#deleteAccount(), which is called before creating a new account to ensure no remnants of an old account are left behind, it caused the app to exit instead of showing SetupActivity.
We should consider extracting the useful parts of this method into AndroidAccountManager#deleteAccount() instead of calling it.
Test device: Moto G 4G (Android 5.1).