Loading app/src/main/java/foundation/e/apps/data/gitlab/SystemAppsUpdatesRepository.kt +1 −1 Original line number Diff line number Diff line Loading @@ -228,7 +228,7 @@ class SystemAppsUpdatesRepository @Inject constructor( Timber.d("getAndroidVersionCodeChar: currentAPI = ${Build.VERSION.SDK_INT}") Timber.d("VERSION_CODES.S = ${Build.VERSION_CODES.S}") return when (val currentAPI = Build.VERSION.SDK_INT) { Build.VERSION_CODES.S -> "S" Build.VERSION_CODES.S, Build.VERSION_CODES.S_V2 -> "S" Build.VERSION_CODES.TIRAMISU -> "T" Build.VERSION_CODES.UPSIDE_DOWN_CAKE -> "U" else -> throw UnsupportedAndroidApiException("API level $currentAPI is not supported") Loading Loading
app/src/main/java/foundation/e/apps/data/gitlab/SystemAppsUpdatesRepository.kt +1 −1 Original line number Diff line number Diff line Loading @@ -228,7 +228,7 @@ class SystemAppsUpdatesRepository @Inject constructor( Timber.d("getAndroidVersionCodeChar: currentAPI = ${Build.VERSION.SDK_INT}") Timber.d("VERSION_CODES.S = ${Build.VERSION_CODES.S}") return when (val currentAPI = Build.VERSION.SDK_INT) { Build.VERSION_CODES.S -> "S" Build.VERSION_CODES.S, Build.VERSION_CODES.S_V2 -> "S" Build.VERSION_CODES.TIRAMISU -> "T" Build.VERSION_CODES.UPSIDE_DOWN_CAKE -> "U" else -> throw UnsupportedAndroidApiException("API level $currentAPI is not supported") Loading