In my application onServiceConnected seems to sometimes get called immediately after applicationContext.bindService(...) is called, which causes a crash, because liteDownloadManager is not initialized yet. This PR calls bindService after liteDownloadManager is initialized to eliminate the possibility of this crash.
In my application
onServiceConnected
seems to sometimes get called immediately afterapplicationContext.bindService(...)
is called, which causes a crash, becauseliteDownloadManager
is not initialized yet. This PR calls bindService after liteDownloadManager is initialized to eliminate the possibility of this crash.Fixes #510