aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlookshe <github@lookshe.org>2016-03-08 01:01:33 +0100
committerlookshe <github@lookshe.org>2016-03-08 01:01:33 +0100
commit7be757de90fb71042b79b88a76cd36fc07b2ee87 (patch)
treeb3bfdf842b5b79423103d6e435f203f55c71121f /src
parent5eda297b145558b4bcdbd0fb94f8a2675691971f (diff)
parentf767a068423c50dde60bf570d6a05683ed6d76d7 (diff)
Merge branch 'trz/rebase' into trz/rename
Diffstat (limited to 'src')
-rw-r--r--src/main/java/de/thedevstack/conversationsplus/utils/FileHelper.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/de/thedevstack/conversationsplus/utils/FileHelper.java b/src/main/java/de/thedevstack/conversationsplus/utils/FileHelper.java
index 9772b03f..5cba24b8 100644
--- a/src/main/java/de/thedevstack/conversationsplus/utils/FileHelper.java
+++ b/src/main/java/de/thedevstack/conversationsplus/utils/FileHelper.java
@@ -4,6 +4,7 @@ import android.annotation.TargetApi;
import android.content.ContentResolver;
import android.database.Cursor;
import android.net.Uri;
+import android.os.Build;
import android.provider.DocumentsContract;
import android.provider.MediaStore;
@@ -19,7 +20,7 @@ public final class FileHelper {
* @param uri
* @return
*/
- @TargetApi(19)
+ @TargetApi(Build.VERSION_CODES.KITKAT)
private static String getRealPathFromUriLollipop(Uri uri) {
String path = null;