Browse Source

Merge branch 'google' into qiye

xulei 7 months ago
parent
commit
dee0daa8f0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      home/src/main/java/com/swago/home/MessageFragment.kt

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

@@ -34,7 +34,7 @@ class MessageFragment : BaseXFragment<FragmentMessageBinding>() {
         binding.conversation.initDefault()
         binding.conversation.initDefault()
         binding.conversation.conversationList.setOnItemClickListener { view, position, messageInfo ->
         binding.conversation.conversationList.setOnItemClickListener { view, position, messageInfo ->
             PermissionX.init(this)
             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 ->
                 .request { allGranted, grantedList, deniedList ->
                     if (allGranted) {
                     if (allGranted) {
                         ARouter.getInstance().build(ARouteConstant.Home.chatDetail)
                         ARouter.getInstance().build(ARouteConstant.Home.chatDetail)