am 90bdb69b: Merge "fix one NPE when webChromeClient don\'t have progress view support" into honeycomb-mr2
* commit '90bdb69bf95e5865547a55260dd61744b0bcc911': 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
|
||||
protected void switchProgressView(boolean playerBuffering) {
|
||||
if (playerBuffering) {
|
||||
mProgressView.setVisibility(View.VISIBLE);
|
||||
} else {
|
||||
mProgressView.setVisibility(View.GONE);
|
||||
if (mProgressView != null) {
|
||||
if (playerBuffering) {
|
||||
mProgressView.setVisibility(View.VISIBLE);
|
||||
} else {
|
||||
mProgressView.setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user