Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 783f5c58 authored by Vincent Bourgmayer's avatar Vincent Bourgmayer
Browse files

feat: add support for android S_V2

parent 33a16bcc
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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")