Skip to content

Commit

Permalink
Fix Samsung component
Browse files Browse the repository at this point in the history
This opens the main Battery Settings com.samsung.android.sm.battery.ui.BatteryActivity
so we should only use it if we can't open the specific Sleeping Apps settings with:
com.samsung.android.sm.battery.ui.usage.CheckableAppListActivity
  • Loading branch information
awoisoak committed Jun 4, 2021
1 parent 8c4a3dc commit b944d2d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class AutoStartPermissionHelper private constructor() {
private val PACKAGE_SAMSUNG_MAIN = "com.samsung.android.lool"
private val PACKAGE_SAMSUNG_COMPONENT = "com.samsung.android.sm.ui.battery.BatteryActivity"
private val PACKAGE_SAMSUNG_COMPONENT_2 = "com.samsung.android.sm.battery.ui.usage.CheckableAppListActivity"
private val PACKAGE_SAMSUNG_COMPONENT_3 = "com.samsung.android.sm.battery.ui.usage.CheckableAppListActivity"
private val PACKAGE_SAMSUNG_COMPONENT_3 = "com.samsung.android.sm.battery.ui.BatteryActivity"

/***
* One plus
Expand Down

0 comments on commit b944d2d

Please sign in to comment.