From df990e762f6ad8fb2021c0001f3576bd9b5b8bb7 Mon Sep 17 00:00:00 2001 From: Nathan Kerr Date: Mon, 16 Nov 2020 18:37:13 +0000 Subject: [PATCH] Merged in kerr/migrate-to-androidx (pull request #6) Change from support library to androidx --- plugin.xml | 2 +- src/android/ForegroundService.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin.xml b/plugin.xml index 0a6cee4..b9a65e4 100644 --- a/plugin.xml +++ b/plugin.xml @@ -93,7 +93,7 @@ src="src/android/ForegroundService.java" target-dir="src/de/appplant/cordova/plugin/background" /> - + diff --git a/src/android/ForegroundService.java b/src/android/ForegroundService.java index c0edae6..9ba4e06 100644 --- a/src/android/ForegroundService.java +++ b/src/android/ForegroundService.java @@ -33,7 +33,7 @@ import android.os.Build; import android.os.IBinder; import android.os.PowerManager; import org.json.JSONObject; -import android.support.v4.app.NotificationCompat; +import androidx.core.app.NotificationCompat; import static android.os.PowerManager.PARTIAL_WAKE_LOCK;