feat: simple support Android 14 display name

This commit is contained in:
2023-09-18 00:21:12 +08:00
parent 9f39f297f9
commit 3cf67eb7fc

View File

@@ -158,6 +158,7 @@ inline val isNotSupportMiuiVersion get() = !isSupportMiuiVersion
*/
val androidVersionCodeName
get() = when (Build.VERSION.SDK_INT) {
34 -> "U"
33 -> "T"
32 -> "S_V2"
31 -> "S"
@@ -171,7 +172,7 @@ val androidVersionCodeName
23 -> "M"
22 -> "L_MR1"
21 -> "L"
else -> ""
else -> "?"
}
/**