Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 90bdb69b authored by Teng-Hui Zhu's avatar Teng-Hui Zhu Committed by Android (Google) Code Review
Browse files

Merge "fix one NPE when webChromeClient don't have progress view support" into honeycomb-mr2

parents 2bb2d48f 2302fe52
Loading
Loading
Loading
Loading
+6 −4
Original line number Original line Diff line number Diff line
@@ -314,11 +314,13 @@ public class HTML5VideoFullScreen extends HTML5VideoView


    @Override
    @Override
    protected void switchProgressView(boolean playerBuffering) {
    protected void switchProgressView(boolean playerBuffering) {
        if (mProgressView != null) {
            if (playerBuffering) {
            if (playerBuffering) {
                mProgressView.setVisibility(View.VISIBLE);
                mProgressView.setVisibility(View.VISIBLE);
            } else {
            } else {
                mProgressView.setVisibility(View.GONE);
                mProgressView.setVisibility(View.GONE);
            }
            }
        }
        return;
        return;
    }
    }
}
}