Skip to content

Commit

Permalink
Add Xiaomi sub-brand Poco
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeronfinity committed Jan 13, 2021
1 parent 03e4e41 commit 11dc085
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,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"
Expand Down Expand Up @@ -99,7 +100,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)

Expand Down Expand Up @@ -348,4 +349,4 @@ class AutoStartPermissionHelper private constructor() {
}

}
}
}

0 comments on commit 11dc085

Please sign in to comment.