| commit | 69c66253ea5e714765da37ac0727719626b72711 | [log] [tgz] |
|---|---|---|
| author | John Reck <jreck@google.com> | Mon Apr 10 15:08:20 2023 -0400 |
| committer | John Reck <jreck@google.com> | Mon Apr 10 15:08:20 2023 -0400 |
| tree | 9e756772778dfc32f2f4d12a4f3a4c448343a7a1 | |
| parent | 9d1c928132a08ffbb18341fd91563e1d7e944e56 [diff] |
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