diff --git a/autostarter/src/main/java/com/judemanutd/autostarter/AutoStartPermissionHelper.kt b/autostarter/src/main/java/com/judemanutd/autostarter/AutoStartPermissionHelper.kt index 57f79b8..fc06f73 100644 --- a/autostarter/src/main/java/com/judemanutd/autostarter/AutoStartPermissionHelper.kt +++ b/autostarter/src/main/java/com/judemanutd/autostarter/AutoStartPermissionHelper.kt @@ -14,6 +14,7 @@ class AutoStartPermissionHelper private constructor() { * Xiaomi */ private val BRAND_XIAOMI = "xiaomi" + private val BRAND_XIAOMI_POCO = "poco" private val BRAND_XIAOMI_REDMI = "redmi" private val PACKAGE_XIAOMI_MAIN = "com.miui.securitycenter" private val PACKAGE_XIAOMI_COMPONENT = "com.miui.permcenter.autostart.AutoStartManagementActivity" @@ -101,7 +102,7 @@ class AutoStartPermissionHelper private constructor() { BRAND_ASUS -> return autoStartAsus(context) - BRAND_XIAOMI, BRAND_XIAOMI_REDMI -> return autoStartXiaomi(context) + BRAND_XIAOMI, BRAND_XIAOMI_POCO, BRAND_XIAOMI_REDMI -> return autoStartXiaomi(context) BRAND_LETV -> return autoStartLetv(context) @@ -358,4 +359,4 @@ class AutoStartPermissionHelper private constructor() { } } -} \ No newline at end of file +}