focusnet / focus-app-android

FOCUS Mobile
http://www.focusnet.eu
MIT License
0 stars 0 forks source link

useExistingDataSet() in FocusAppLogic#init() is running on the main thread #17

Closed jlnknz closed 8 years ago

jlnknz commented 8 years ago

This call does not do much, but any access to the database should not be done on the main thread.

Move it to EntrypointActivity#doInBackground?

jlnknz commented 8 years ago

No called in {FocusAppLogic#acquireApplicationData()}, which is called from a background task in EntryPointActivity.