Do not return null paint if shaderFP is null

This fixes the ripple bug reported by LG:
https://b.corp.google.com/issues/68964656

In that bug, the button is so tall that our image shader returns
a null fragment processor because the height exceeds GL_MAX_TEXTURE_SIZE.
If we return null paint, the ripple is completely gone. This CL returns
a default paint so we can still see the ripple, and that matches HWUI's
behaviour.

A GM will be added later after some other urgent Android ripple bug fixes.

Bug: skia:
Change-Id: I9bcafc078916a6a15fbd84d2019f39ac88d2b2f8
Reviewed-on: https://skia-review.googlesource.com/73200
Commit-Queue: Yuqian Li <liyuqian@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
1 file changed