chore: Unused code cleanup (#1612)

* Remove unused SoftwareUpdateService code and commented out service reg in manifest

* Remove unused methods that had unnecessary version checks

* Regenerate baseline to remove detekt issues that are no longer present
This commit is contained in:
Joshua Soberg 2025-02-27 17:18:42 -05:00 committed by GitHub
parent 4242afef9c
commit 2f48e8e68a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 1 additions and 113 deletions

View file

@ -23,19 +23,6 @@ import android.os.Build
* Created by kevinh on 1/14/16.
*/
object BuildUtils : Logging {
fun is64Bit(): Boolean {
if (Build.VERSION.SDK_INT < 21)
return false
else
return Build.SUPPORTED_64_BIT_ABIS.size > 0
}
fun isBuggyMoto(): Boolean {
debug("Device type is: ${Build.DEVICE}")
return Build.DEVICE == "osprey_u2" // Moto G
}
// Are we running on the emulator?
val isEmulator
get() = Build.FINGERPRINT.startsWith("generic") ||