am b5141a9f: am 90bdb69b: Merge "fix one NPE when webChromeClient don\'t have progress view support" into honeycomb-mr2
* commit 'b5141a9fc7e841167c3e07f8797d8aef9a787d25': fix one NPE when webChromeClient don't have progress view support
This commit is contained in:
@@ -314,10 +314,12 @@ public class HTML5VideoFullScreen extends HTML5VideoView
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void switchProgressView(boolean playerBuffering) {
|
protected void switchProgressView(boolean playerBuffering) {
|
||||||
if (playerBuffering) {
|
if (mProgressView != null) {
|
||||||
mProgressView.setVisibility(View.VISIBLE);
|
if (playerBuffering) {
|
||||||
} else {
|
mProgressView.setVisibility(View.VISIBLE);
|
||||||
mProgressView.setVisibility(View.GONE);
|
} else {
|
||||||
|
mProgressView.setVisibility(View.GONE);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user