summaryrefslogtreecommitdiff
path: root/platform/android
diff options
context:
space:
mode:
authorMatt Holgate <matt@emobix.co.uk>2014-06-18 15:57:50 +0100
committerMatt Holgate <matt@emobix.co.uk>2014-06-18 15:57:50 +0100
commite031cc84880f7ce48a2beb2a784f669797f0f429 (patch)
treec6d0ced45021fbc46f9da42feca260fc9305cd47 /platform/android
parent38402bcf8dfea7b08cb5b3e6948af078d0b3874b (diff)
downloadmupdf-e031cc84880f7ce48a2beb2a784f669797f0f429.tar.xz
Add annotation to fix building from Eclipse.
Diffstat (limited to 'platform/android')
-rw-r--r--platform/android/src/com/artifex/mupdfdemo/MuPDFPageView.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/android/src/com/artifex/mupdfdemo/MuPDFPageView.java b/platform/android/src/com/artifex/mupdfdemo/MuPDFPageView.java
index 32deb029..0d3cc961 100644
--- a/platform/android/src/com/artifex/mupdfdemo/MuPDFPageView.java
+++ b/platform/android/src/com/artifex/mupdfdemo/MuPDFPageView.java
@@ -2,6 +2,7 @@ package com.artifex.mupdfdemo;
import java.util.ArrayList;
+import android.annotation.TargetApi;
import android.app.AlertDialog;
import android.content.ClipData;
import android.content.Context;
@@ -398,6 +399,7 @@ public class MuPDFPageView extends PageView implements MuPDFView {
return Hit.Nothing;
}
+ @TargetApi(11)
public boolean copySelection() {
final StringBuilder text = new StringBuilder();