From a79f3644e5db093905c168e88d034f2bf1d1b5dc Mon Sep 17 00:00:00 2001 From: Huzaifa Khan Date: Thu, 9 Jul 2020 19:06:04 +0500 Subject: [PATCH] Upgrade: added androidx libs --- android/src/main/java/com/hopding/pdflib/PDFLibModule.java | 2 +- .../main/java/com/hopding/pdflib/factories/PDPageFactory.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/android/src/main/java/com/hopding/pdflib/PDFLibModule.java b/android/src/main/java/com/hopding/pdflib/PDFLibModule.java index c5653c8..985c8fd 100644 --- a/android/src/main/java/com/hopding/pdflib/PDFLibModule.java +++ b/android/src/main/java/com/hopding/pdflib/PDFLibModule.java @@ -4,7 +4,7 @@ import android.content.ActivityNotFoundException; import android.content.Intent; import android.net.Uri; -import android.support.v4.content.FileProvider; +import androidx.core.content.FileProvider; import android.util.Log; import com.facebook.react.bridge.NoSuchKeyException; diff --git a/android/src/main/java/com/hopding/pdflib/factories/PDPageFactory.java b/android/src/main/java/com/hopding/pdflib/factories/PDPageFactory.java index 251d801..6a7bfda 100644 --- a/android/src/main/java/com/hopding/pdflib/factories/PDPageFactory.java +++ b/android/src/main/java/com/hopding/pdflib/factories/PDPageFactory.java @@ -2,7 +2,7 @@ import android.graphics.Bitmap; import android.graphics.BitmapFactory; -import android.support.annotation.RequiresPermission; +import androidx.annotation.RequiresPermission; import android.content.Context; import android.content.res.AssetManager;