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 5f91bfbac..44635e98d 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
@@ -68,26 +66,6 @@ fun Context.hasPermission(
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)
}
@@ -200,11 +178,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_blank_24dp.xml b/app/src/main/res/drawable/ic_blank_24dp.xml
deleted file mode 100644
index 940db069f..000000000
--- a/app/src/main/res/drawable/ic_blank_24dp.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
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 @@
-
-
- -
-
-
-
-
- -
-
-
-
-
-
-
diff --git a/app/src/main/res/values-sw720dp/dimens.xml b/app/src/main/res/values-sw720dp/dimens.xml
deleted file mode 100644
index 5cb983dc4..000000000
--- a/app/src/main/res/values-sw720dp/dimens.xml
+++ /dev/null
@@ -1,3 +0,0 @@
-
- 24dp
-
diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml
index e82288767..af52b6c3d 100644
--- a/app/src/main/res/values/dimens.xml
+++ b/app/src/main/res/values/dimens.xml
@@ -1,6 +1,4 @@
- 16dp
-
16dp
12dp