Skip to content

Commit

Permalink
Merge pull request #60 from Zeronfinity/master
Browse files Browse the repository at this point in the history
Add Xiaomi sub-brand Poco
  • Loading branch information
judemanutd authored Mar 24, 2021
2 parents 3a29646 + 11dc085 commit 092e79c
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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)

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

}
}
}

0 comments on commit 092e79c

Please sign in to comment.