diff --git a/app/src/main/java/eu/kanade/tachiyomi/util/system/ContextExtensions.kt b/app/src/main/java/eu/kanade/tachiyomi/util/system/ContextExtensions.kt
index 2806cd6f4..cff50f9fc 100644
--- a/app/src/main/java/eu/kanade/tachiyomi/util/system/ContextExtensions.kt
+++ b/app/src/main/java/eu/kanade/tachiyomi/util/system/ContextExtensions.kt
@@ -1,13 +1,11 @@
package eu.kanade.tachiyomi.util.system
-import android.app.ActivityManager
import android.content.ClipData
import android.content.ClipboardManager
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.content.res.Configuration
-import android.graphics.drawable.Drawable
import android.net.Uri
import android.os.Build
import android.os.PowerManager
@@ -69,26 +67,6 @@ fun Context.hasPermission(permission: String) = PermissionChecker.checkSelfPermi
val Context.powerManager: PowerManager
get() = getSystemService()!!
-/**
- * Convenience method to acquire a partial wake lock.
- */
-fun Context.acquireWakeLock(tag: String): PowerManager.WakeLock {
- val wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "$tag:WakeLock")
- wakeLock.acquire()
- return wakeLock
-}
-
-/**
- * Returns true if the given service class is running.
- */
-fun Context.isServiceRunning(serviceClass: Class<*>): Boolean {
- val className = serviceClass.name
- val manager = getSystemService(Context.ACTIVITY_SERVICE) as ActivityManager
- @Suppress("DEPRECATION")
- return manager.getRunningServices(Integer.MAX_VALUE)
- .any { className == it.service.className }
-}
-
fun Context.openInBrowser(url: String, forceDefaultBrowser: Boolean = false) {
this.openInBrowser(url.toUri(), forceDefaultBrowser)
}
@@ -204,11 +182,3 @@ fun Context.isInstalledFromFDroid(): Boolean {
// F-Droid builds typically disable the updater
(!BuildConfig.INCLUDE_UPDATER && !isDevFlavor)
}
-
-fun Context.getApplicationIcon(pkgName: String): Drawable? {
- return try {
- packageManager.getApplicationIcon(pkgName)
- } catch (e: PackageManager.NameNotFoundException) {
- null
- }
-}
diff --git a/app/src/main/res/color/ripple_toolbar_fainter.xml b/app/src/main/res/color/ripple_toolbar_fainter.xml
deleted file mode 100644
index e7fb4ba66..000000000
--- a/app/src/main/res/color/ripple_toolbar_fainter.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
diff --git a/app/src/main/res/color/slider_active_track.xml b/app/src/main/res/color/slider_active_track.xml
deleted file mode 100644
index 764d21bf3..000000000
--- a/app/src/main/res/color/slider_active_track.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/app/src/main/res/color/slider_inactive_track.xml b/app/src/main/res/color/slider_inactive_track.xml
deleted file mode 100644
index 0f624c117..000000000
--- a/app/src/main/res/color/slider_inactive_track.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/app/src/main/res/drawable/ic_offline_pin_24dp.xml b/app/src/main/res/drawable/ic_offline_pin_24dp.xml
deleted file mode 100644
index f3dcb3625..000000000
--- a/app/src/main/res/drawable/ic_offline_pin_24dp.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
diff --git a/app/src/main/res/drawable/ic_webview_24dp.xml b/app/src/main/res/drawable/ic_webview_24dp.xml
deleted file mode 100644
index 9400f45ed..000000000
--- a/app/src/main/res/drawable/ic_webview_24dp.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
diff --git a/app/src/main/res/drawable/transparent_tabs_background.xml b/app/src/main/res/drawable/transparent_tabs_background.xml
deleted file mode 100644
index a503ef698..000000000
--- a/app/src/main/res/drawable/transparent_tabs_background.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
- -
-
-
-
-
- -
-
-
-
-
-
-