do not pause inline player onscroll

This commit is contained in:
Andrew Dolgov 2017-06-04 13:01:26 +03:00
parent 670c4a9b36
commit 6feba2f5eb
1 changed files with 2 additions and 2 deletions

View File

@ -463,7 +463,7 @@ public class HeadlinesFragment extends Fragment {
public void onScrollStateChanged(RecyclerView recyclerView, int newState) {
super.onScrollStateChanged(recyclerView, newState);
if (newState != RecyclerView.SCROLL_STATE_IDLE) {
/*if (newState != RecyclerView.SCROLL_STATE_IDLE) {
try {
if (m_mediaPlayer != null && m_mediaPlayer.isPlaying()) {
@ -473,7 +473,7 @@ public class HeadlinesFragment extends Fragment {
// i guess it was already released, oh well
}
}
}*/
if (newState == RecyclerView.SCROLL_STATE_IDLE && m_prefs.getBoolean("headlines_mark_read_scroll", false)) {
if (!m_readArticles.isEmpty()) {