mirror of
https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background
synced 2024-11-22 15:24:54 +00:00
Merged in kerr/migrate-to-androidx (pull request #6)
Change from support library to androidx
This commit is contained in:
parent
b33044c8e5
commit
df990e762f
@ -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" />
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user