Add setting to enable sending buffering events #993

Merged
kekkyojin merged 2 commits from setting-buffering-events into master 2020-08-28 11:06:42 +02:00
Showing only changes of commit e7aa87cc9f - Show all commits

View file

@ -299,7 +299,7 @@ public class FileViewFragment extends BaseFragment implements
}
} else if (playbackState == Player.STATE_BUFFERING) {
Context ctx = getContext();
boolean sendBufferingEvents = false;
boolean sendBufferingEvents = true;
if (ctx != null) {
SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(ctx);