do not clear media on destroy
This commit is contained in:
parent
d51fa1385a
commit
455fa7eb77
1 changed files with 0 additions and 3 deletions
|
@ -223,7 +223,6 @@ class MediaActivity : SimpleActivity(), MediaOperationsListener {
|
||||||
}
|
}
|
||||||
|
|
||||||
mTempShowHiddenHandler.removeCallbacksAndMessages(null)
|
mTempShowHiddenHandler.removeCallbacksAndMessages(null)
|
||||||
mMedia.clear()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onCreateOptionsMenu(menu: Menu): Boolean {
|
override fun onCreateOptionsMenu(menu: Menu): Boolean {
|
||||||
|
@ -840,8 +839,6 @@ class MediaActivity : SimpleActivity(), MediaOperationsListener {
|
||||||
media_empty_text_placeholder.text = getString(R.string.no_media_with_filters)
|
media_empty_text_placeholder.text = getString(R.string.no_media_with_filters)
|
||||||
}
|
}
|
||||||
media_fastscroller.beVisibleIf(media_empty_text_placeholder.isGone())
|
media_fastscroller.beVisibleIf(media_empty_text_placeholder.isGone())
|
||||||
|
|
||||||
val viewType = config.getFolderViewType(if (mShowAll) SHOW_ALL else mPath)
|
|
||||||
setupAdapter()
|
setupAdapter()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue