Commit d303db97 by aquilescanta Committed by Oliver Woodman

Re-initialize the DemoApp player on BLWE

This CL shows a de facto way to solve BLWEs until an in-player
solution is implemented.

Issue:#1782

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=145265895
parent 55ca323c
......@@ -461,11 +461,12 @@ public class PlayerActivity extends Activity implements OnClickListener, ExoPlay
playerNeedsSource = true;
if (isBehindLiveWindow(e)) {
clearResumePosition();
initializePlayer();
} else {
updateResumePosition();
updateButtonVisibilities();
showControls();
}
updateButtonVisibilities();
showControls();
}
@Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment