Skip to content
Snippets Groups Projects

Add a handleDbException() method to BaseActivity

Merged Torsten Grote requested to merge 469-handle-background-errors into master

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.

First part of #469

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
Please register or sign in to reply
Loading