revert back to android support lib

This commit is contained in:
Dave Umrysh 2021-02-23 13:15:43 -07:00
parent df990e762f
commit 361358a458
2 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@
src="src/android/ForegroundService.java" src="src/android/ForegroundService.java"
target-dir="src/de/appplant/cordova/plugin/background" /> target-dir="src/de/appplant/cordova/plugin/background" />
<framework src="androidx.core:core:1.0.0" /> <framework src="com.android.support:support-compat:27.1.1" />
<resource-file src="src/android/res/drawable/power.xml" target="res/drawable/power.xml" /> <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-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" /> <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.IBinder;
import android.os.PowerManager; import android.os.PowerManager;
import org.json.JSONObject; import org.json.JSONObject;
import androidx.core.app.NotificationCompat; import android.support.v4.app.NotificationCompat;
import static android.os.PowerManager.PARTIAL_WAKE_LOCK; import static android.os.PowerManager.PARTIAL_WAKE_LOCK;