Skip to content
Snippets Groups Projects
Verified Commit 0a984099 authored by Torsten Grote's avatar Torsten Grote
Browse files

This adds a `handleDbException()` method to BaseActivity

and a corresponding method for fragments that calls through to the activity.
For now, the method just finishes the activity
and NavDrawerActivity overrides it to do nothing,
and all the error places marked with TODO that finish the activity call the method instead.

That gives us zero functional improvement over the status quo,
but it allows us to change the default behaviour easily,
and then we can start thinking about which cases should have non-default behaviour.
parent 79fc4147
No related branches found
No related tags found
No related merge requests found
Showing
with 58 additions and 63 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment