Skip to content

Commit 62a40b7

Browse files
authored
feat: 新增对HyperOS 3.0和Android 16的支持 (#244)
1 parent 3e29a70 commit 62a40b7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

app/src/main/java/com/fankes/miui/notify/utils/factory/FunctionFactory.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ inline val isNotMIOS get() = !isMIOS
178178
val isSupportMiSystemVersion
179179
get() = when {
180180
isMIOS -> when (miosVersion) {
181-
"1.0", "1.1", "2.0" -> true
181+
"1.0", "1.1", "2.0" , "3.0"-> true
182182
else -> false
183183
}
184184
isMIUI -> when (miuiVersion) {
@@ -200,6 +200,7 @@ inline val isNotSupportMiSystemVersion get() = !isSupportMiSystemVersion
200200
*/
201201
val androidVersionCodeName
202202
get() = when (Build.VERSION.SDK_INT) {
203+
36 -> "W"
203204
35 -> "V"
204205
34 -> "U"
205206
33 -> "T"

0 commit comments

Comments
 (0)