diff options
author | Robin Watts <robin.watts@artifex.com> | 2018-03-22 20:20:48 +0000 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2018-04-03 22:26:22 +0800 |
commit | b8dd674459a15ccffe49eff0c2b89dd0e22ac393 (patch) | |
tree | 278e4f682a33674a5d90946eb3fcb1564f24685f /include | |
parent | b7895f158741f791d0a6211ad955bc8bce0f3452 (diff) | |
download | mupdf-b8dd674459a15ccffe49eff0c2b89dd0e22ac393.tar.xz |
Android: Avoid crashes if we fail to lock a Bitmap.
If a call to Bitmap_lockPixels() fails, then previously we
would have continued on blindly and tried to use it anyway.
Now, spot failures and return so we get a java exception.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions