summaryrefslogtreecommitdiff
path: root/android/jni
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2012-04-23 14:42:08 +0100
committerRobin Watts <robin.watts@artifex.com>2012-04-23 14:42:08 +0100
commited739dd54d75eef5d467c3f14531f749ed63a48a (patch)
treef9cd2f0a297035fb21df47287ec67f2cb49ccaab /android/jni
parentea3cd505c7dfea7fd207e7b00674a3ff97413721 (diff)
downloadmupdf-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