mirror of
https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background
synced 2024-12-03 12:37:47 +00:00
Merge branch 'master' of bitbucket.org:TheBosZ/cordova-plugin-run-in-background
This commit is contained in:
commit
d1d6396c07
@ -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" />
|
||||
<dependency id="cordova-androidx-build" />
|
||||
<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" />
|
||||
|
@ -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