Storage permission restarts application

依然范特西╮ 提交于 2019-12-08 08:21:12

问题


I have a launcher application which runs on a custom firmware(have only Camera , Settings , Chrome & Explorer).

The problem come when we ask user (runtime permission) for Manifest.permission.WRITE_EXTERNAL_STORAGE on denying the permission onRequestPermissionsResult gets called but on allowing the permission application restarts.

This is not happening for Manifest.permission.CAMERA permission. I can't find any proper logs pointing to this issue. The same issue is happening for the above mentioned Camera application. So i have figured out it's something related to package dependency. Does anyone know what all packages are required for Manifest.permission.WRITE_EXTERNAL_STORAGE permission. If you want me to post the code, please do let me know. TIA

来源:https://stackoverflow.com/questions/55003244/storage-permission-restarts-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!