Fix some crashes

This commit is contained in:
arkon
2021-12-28 16:45:42 -05:00
parent 800583b5e2
commit 353485054e
6 changed files with 13 additions and 16 deletions

View File

@@ -1,7 +1,6 @@
package eu.kanade.tachiyomi.util.system
import android.annotation.SuppressLint
import android.os.Build
import logcat.LogPriority
object DeviceUtil {
@@ -26,10 +25,6 @@ object DeviceUtil {
}
}
val isSamsung by lazy {
Build.MANUFACTURER.equals("samsung", ignoreCase = true)
}
@SuppressLint("PrivateApi")
private fun getSystemProperty(key: String?): String? {
return try {