Merge branch 'master' of bitbucket.org:TheBosZ/cordova-plugin-run-in-background

This commit is contained in:
Nathan Kerr 2022-04-22 09:06:11 -07:00
commit d1d6396c07
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" />
<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" />

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;