do not stop fetching directories on pause

This commit is contained in:
tibbi 2018-03-02 17:21:55 +01:00
parent f4a445dba5
commit 3949db6583

View file

@ -163,10 +163,6 @@ class MainActivity : SimpleActivity(), DirectoryAdapter.DirOperationsListener {
mIsGettingDirs = false mIsGettingDirs = false
storeStateVariables() storeStateVariables()
mLastMediaHandler.removeCallbacksAndMessages(null) mLastMediaHandler.removeCallbacksAndMessages(null)
if (!mDirs.isEmpty()) {
mCurrAsyncTask?.stopFetching()
}
} }
override fun onStop() { override fun onStop() {