fix #3513: do not clean offline logs during background cleanup
Merge branch 'release'
Merge branch 'release' into upstream
Merge branch 'release' into upstream
Merge branch 'release' into upstream
#609: run directory maintenance manually
Merge remote-tracking branch 'origin/release'
new: register for geokrety URLs in Android
refactoring: remove dead enumeration items and dead code
Revert "refactoring: remove dead enumeration items and dead code"

This reverts commit e2443f151d4d2bcd7574c19dcb3b4aedbd262a75.

The enumeration items were used in a range expression.
Merge branch 'release' into upstream
Merge branch 'release' into upstream
Merge branch 'release' into upstream
Merge branch 'release' into upstream
fix #3522: do not asynchronously play with GPS status
refactoring: loadCachesHandler can never be null
refactoring: clean up
refactoring: factor out duplicate code
refactoring: remove unused or useless parameters
Remove onTerminate() in application

Not only it is not advised to derive from `Application` as this is often
deemed useless, but also the `onTerminate()` method is never called on
real devices.

Since it causes issues with our tests since it accesses ressources that
appear to have been cleaned up already, such as the application context,
it is best to remove it entirely.