diff options
author | fred ross-perry <fredross-perry@Fred-Ross-Perrys-Computer.local> | 2016-09-16 13:54:20 -0700 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-09-21 11:30:31 +0100 |
commit | 80ba0e2a16cdbadfcd72ee8eb47af210b18df4b2 (patch) | |
tree | 62f537804418001f0565419222eba3591411707c /platform/android/example | |
parent | cf371385d50ea718e8af8bb18f2fce28690a46c4 (diff) | |
download | mupdf-80ba0e2a16cdbadfcd72ee8eb47af210b18df4b2.tar.xz |
Android example - don't do any layout after the document has been destroyed.
Diffstat (limited to 'platform/android/example')
-rw-r--r-- | platform/android/example/mupdf/src/main/java/com/artifex/mupdf/android/DocProofView.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/android/example/mupdf/src/main/java/com/artifex/mupdf/android/DocProofView.java b/platform/android/example/mupdf/src/main/java/com/artifex/mupdf/android/DocProofView.java index 258af1f7..cdcd73ef 100644 --- a/platform/android/example/mupdf/src/main/java/com/artifex/mupdf/android/DocProofView.java +++ b/platform/android/example/mupdf/src/main/java/com/artifex/mupdf/android/DocProofView.java @@ -32,12 +32,12 @@ public class DocProofView extends DocViewBase @Override protected void onLayout(boolean changed, int left, int top, int right, int bottom) { - super.onLayout(changed, left, top, right, bottom); - // not if we've been finished if (finished()) return; + super.onLayout(changed, left, top, right, bottom); + // see if we've been given a start page handleStartPage(); } |