瀏覽代碼

修改权限

xulei 9 月之前
父節點
當前提交
85e1399c04
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      home/src/main/java/com/swago/home/MessageFragment.kt

+ 1 - 1
home/src/main/java/com/swago/home/MessageFragment.kt

@@ -42,7 +42,7 @@ class MessageFragment : BaseXFragment<FragmentMessageBinding>() {
         binding.conversation.initDefault()
         binding.conversation.conversationList.setOnItemClickListener { view, position, messageInfo ->
             PermissionX.init(this)
-                .permissions(Manifest.permission.RECORD_AUDIO,Manifest.permission.CAMERA,Manifest.permission.READ_EXTERNAL_STORAGE)
+                .permissions(Manifest.permission.RECORD_AUDIO,Manifest.permission.CAMERA)
                 .request { allGranted, grantedList, deniedList ->
                     if (allGranted) {
                         ARouter.getInstance().build(ARouteConstant.Home.chatDetail)