diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2013-08-15 13:32:16 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2013-08-15 13:32:16 +0200 |
commit | df424210e662c660dafa50be00148a117ef8d95c (patch) | |
tree | 224c187b6337ae4083f18f9aa91ecd39fe79def0 /platform | |
parent | 00fbe2446c7ca2c291b785da99f6e0b293574001 (diff) | |
parent | 8530783a10e467947f8698cf44d38313b5454cb2 (diff) | |
download | mupdf-df424210e662c660dafa50be00148a117ef8d95c.tar.xz |
Merge branch 'release' into 'master'.
Diffstat (limited to 'platform')
-rw-r--r-- | platform/android/src/com/artifex/mupdfdemo/MuPDFActivity.java | 6 |
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) { |