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 Diff line number Diff line
@@ -314,11 +314,13 @@ public class HTML5VideoFullScreen extends HTML5VideoView

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