打开“启动应用”菜单以编程方式。华为EMUI设备
华为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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论