Skip to content
Commit 69c66253 authored by John Reck's avatar John Reck
Browse files

Native crash -> ISE

Do some basic validation of the Bitmap given to
BitmapShader to avoid a subsequent native crash
in favor of a proper IllegalStateException

Fixes: 274860420
Test: BitmapShaderTest#testRecycledBitmapThrowsISE
Change-Id: I9ee64df5fc34909e5c91e979b1d21a4f94ca5e57
parent 9d1c9281
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment