xulei 9 kuukautta sitten
vanhempi
commit
85e1399c04
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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)