Skip to content
This repository has been archived by the owner on Oct 16, 2023. It is now read-only.

Commit

Permalink
4k: auto quality in restrict mode
Browse files Browse the repository at this point in the history
  • Loading branch information
yuliskov committed Oct 7, 2018
1 parent d79bcdc commit 02b5fa5
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -308,7 +308,7 @@ public void onClick(DialogInterface dialog, int which) {
if (override != null) {
selector.setSelectionOverride(rendererIndex, trackGroups, override);
} else {
selector.clearSelectionOverrides(rendererIndex);
selector.clearSelectionOverrides(rendererIndex); // Auto quality button selected
}
((PlayerActivity) context).retryIfNeeded();
}
Expand All @@ -319,7 +319,7 @@ public void onClick(View view) {
if (view == disableView) {
isDisabled = true;
override = null;
} else if (view == defaultView) {
} else if (view == defaultView) { // Auto quality button selected
isDisabled = false;
override = null;
} else if (view == enableRandomAdaptationView) {
Expand Down

0 comments on commit 02b5fa5

Please sign in to comment.