After updating to 8.0 we get a crash so far we haven\'t seen before:
java.lang.NullPointerException: Attempt to invoke virtual method \'int android.graphics.
Thanks to @breakline's answer, I got this issue worked around! Thanks! But instead of using decoding a bitmap, I just create an empty one and return that:
setWebChromeClient(new WebChromeClient() {
@Override
public Bitmap getDefaultVideoPoster() {
return Bitmap.createBitmap(50, 50, Bitmap.Config.ARGB_8888);
}
});