Merged in kerr/migrate-to-androidx (pull request #6)

Change from support library to androidx
This commit is contained in:
Nathan Kerr 2020-11-16 18:37:13 +00:00
parent b33044c8e5
commit df990e762f
2 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@
src="src/android/ForegroundService.java"
target-dir="src/de/appplant/cordova/plugin/background" />
<framework src="com.android.support:support-compat:27.1.1" />
<framework src="androidx.core:core:1.0.0" />
<resource-file src="src/android/res/drawable/power.xml" target="res/drawable/power.xml" />
<resource-file src="src/android/res/drawable-hdpi/power.png" target="res/drawable-hdpi/power.png" />
<resource-file src="src/android/res/drawable-mdpi/power.png" target="res/drawable-mdpi/power.png" />

View File

@ -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;