From 8a33ede2b5fbd6cba8e8779f12dbd2dc93010f2b Mon Sep 17 00:00:00 2001 From: Anders Date: Fri, 6 Aug 2021 10:53:01 +0200 Subject: [PATCH] feat: migrate to androidx --- plugin.xml | 2 +- src/android/CameraLauncher.java | 2 +- src/android/CordovaUri.java | 2 +- src/android/FileProvider.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugin.xml b/plugin.xml index efd788509..cb3465bd1 100644 --- a/plugin.xml +++ b/plugin.xml @@ -81,7 +81,7 @@ - + diff --git a/src/android/CameraLauncher.java b/src/android/CameraLauncher.java index fbe8470e4..39e0308f9 100644 --- a/src/android/CameraLauncher.java +++ b/src/android/CameraLauncher.java @@ -61,7 +61,7 @@ Licensed to the Apache Software Foundation (ASF) under one import android.provider.DocumentsContract; import android.provider.MediaStore; import android.provider.OpenableColumns; -import android.support.v4.content.FileProvider; +import androidx.core.content.FileProvider; import android.util.Base64; import android.content.pm.PackageManager; import android.content.pm.PackageManager.NameNotFoundException; diff --git a/src/android/CordovaUri.java b/src/android/CordovaUri.java index 5c2224d42..56e388667 100644 --- a/src/android/CordovaUri.java +++ b/src/android/CordovaUri.java @@ -22,7 +22,7 @@ Licensed to the Apache Software Foundation (ASF) under one import android.net.Uri; import android.os.Build; import android.os.Environment; -import android.support.v4.content.FileProvider; +import androidx.core.content.FileProvider; import java.io.File; diff --git a/src/android/FileProvider.java b/src/android/FileProvider.java index 336f93cef..67c214c32 100644 --- a/src/android/FileProvider.java +++ b/src/android/FileProvider.java @@ -18,4 +18,4 @@ Licensed to the Apache Software Foundation (ASF) under one */ package org.apache.cordova.camera; -public class FileProvider extends android.support.v4.content.FileProvider {} +public class FileProvider extends androidx.core.content.FileProvider {}