diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/de/thedevstack/conversationsplus/utils/FileHelper.java | 3 |
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; |