summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2013-08-15 13:32:16 +0200
committerTor Andersson <tor.andersson@artifex.com>2013-08-15 13:32:16 +0200
commitdf424210e662c660dafa50be00148a117ef8d95c (patch)
tree224c187b6337ae4083f18f9aa91ecd39fe79def0 /platform
parent00fbe2446c7ca2c291b785da99f6e0b293574001 (diff)
parent8530783a10e467947f8698cf44d38313b5454cb2 (diff)
downloadmupdf-df424210e662c660dafa50be00148a117ef8d95c.tar.xz
Merge branch 'release' into 'master'.
Diffstat (limited to 'platform')
-rw-r--r--platform/android/src/com/artifex/mupdfdemo/MuPDFActivity.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/platform/android/src/com/artifex/mupdfdemo/MuPDFActivity.java b/platform/android/src/com/artifex/mupdfdemo/MuPDFActivity.java
index ff38b22a..5590d1a1 100644
--- a/platform/android/src/com/artifex/mupdfdemo/MuPDFActivity.java
+++ b/platform/android/src/com/artifex/mupdfdemo/MuPDFActivity.java
@@ -306,13 +306,15 @@ public class MuPDFActivity extends Activity
core = openFile(Uri.decode(uri.getEncodedPath()));
}
SearchTaskResult.set(null);
- if (core.countPages() == 0)
- core = null;
}
if (core != null && core.needsPassword()) {
requestPassword(savedInstanceState);
return;
}
+ if (core != null && core.countPages() == 0)
+ {
+ core = null;
+ }
}
if (core == null)
{