android - 将图像从 Firefox 应用程序共享到我的应用程序时出现权限被拒绝异常
问题描述
如标题所示。通过 Chrome 中的 Intent 将图像共享到我的应用程序。但它不适用于 Firefox。我收到以下异常:
Security Exception: Permission Denial: opening provider mozilla.components.feature.downloads.provider.FileProvider from ProcessRecord{6b46c1f 12229:com.appName/u0a134} (pid=12229, uid=10134) that is not exported from UID 10135
java.lang.SecurityException: Permission Denial: opening provider mozilla.components.feature.downloads.provider.FileProvider from ProcessRecord{6b46c1f 12229:com.appName/u0a134} (pid=12229, uid=10134) that is not exported from UID 10135
解决方案
如果您尝试将图像从 Firefox 应用程序共享到您的任何其他应用程序,它也不起作用。问题在 Mozilla 一方,不能轻易解决。即使像 Gmail 或 SMS(三星)这样的应用程序也无法正常工作。
推荐阅读
- php - 关于 laravel 关系和性能的问题
- json - Json - 可选子文档
- excel - 不需要在 txt 文件上换行
- python-3.x - 多重继承 Python 代码问题语句中 Super() 方法的实现是:-
- spring - HHH000342:无法获得与查询元数据的连接:无法构造请求的方言 [org.hibernate.dialect.DB2400Dialect]
- transactions - 在corda中排序交易
- c# - Linq2db:查询对象层次结构的有效方法
- javascript - 任意点击从 JS 数组中获取一个元素
- google-cloud-platform - 有没有办法在基于多个 pub/sub 订阅的 kubernetes 中实现 HPA?
- android - 如何在android中首次初始化ViewModel中的LiveData?以及使用哪个工厂?