diff options
author | Robin Watts <robin.watts@artifex.com> | 2012-04-23 14:42:08 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2012-04-23 14:42:08 +0100 |
commit | ed739dd54d75eef5d467c3f14531f749ed63a48a (patch) | |
tree | f9cd2f0a297035fb21df47287ec67f2cb49ccaab /android/jni | |
parent | ea3cd505c7dfea7fd207e7b00674a3ff97413721 (diff) | |
download | mupdf-ed739dd54d75eef5d467c3f14531f749ed63a48a.tar.xz |
Android tweak; more null checks.
When building MuPDFActivity as part of a framework, the application
lifecycle is slightly different. This can mean that if an attempt
is made to open a corrupt file (that fails to open) createUI can be
called with core == null. The fix is just to check that core is
non-null.
We add this check in various places to be doubly sure.
Diffstat (limited to 'android/jni')
0 files changed, 0 insertions, 0 deletions