Open App Launch by using Intent on Huawei P30

Viewed 733

On Huawei P30 Pro/P30 Lite, there are a feature calls App Launch on this path below:

Settings > Battery > App launch

I would like to open this activity by using intent. I tried two component names below but it didn't work.

 new Intent().setComponent(new ComponentName("com.huawei.systemmanager", "com.huawei.systemmanager.appcontrol.activity.StartupAppControlActivity")),
 new Intent().setComponent(new ComponentName("com.huawei.systemmanager", "com.huawei.systemmanager.optimize.process.ProtectActivity"))
1 Answers

I found the solution (already tested on Huawei P30 Lite).

new Intent().setComponent(new ComponentName("com.huawei.systemmanager", "com.huawei.systemmanager.optimize.bootstart.BootStartActivity")),
new Intent().setComponent(new ComponentName("com.huawei.systemmanager", "com.huawei.systemmanager.startupmgr.ui.StartupNormalAppListActivity"));
Related