打开“启动应用”菜单以编程方式。华为EMUI设备

发布于 2025-01-20 19:19:27 字数 335 浏览 4 评论 0原文

华为p40 lite手机更新至EMUI 12.0.0.220后, 以编程方式打开“启动应用程序”设置项的可能性消失了,这提供了手动控制应用程序启动的机会。但在荣耀30i上依然存在这样的可能性。 允许执行此操作的 Intent("com.huawei.system manager.startupmgr.ui.StartupNormalAppListActivity") 现在请求权限“com.huawei.permission.external_app_settings.USE_COMPONENT”。这个权限写在manifest里,但是并不能解决问题。当我想以此意图启动一个活动时,会发生异常,它只请求此权限。 华为在新的EMUI更新中删除了这个功能吗?

After updating to EMUI 12.0.0.220 on the huawei p40 lite phone, the
possibility to programmatically open the "launch applications" settings item disappeared, which provided the opportunity to manually control the launch of the application. But there is still such an possibility on Honor 30i.
Intent("com.huawei.system manager.startupmgr.ui.StartupNormalAppListActivity"), which allowed this to be done, now requests the permission "com.huawei.permission.external_app_settings.USE_COMPONENT". This permission is written in the manifest, but it does not solve the problem. when I want to launch an activity with this intent, an exception occurs, which just requests this permission.
Has Huawei removed this feature in the new EMUI update?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文