| 
														
															@@ -57,6 +57,7 @@ import com.cooleshow.base.utils.HeadsetPlugReceiver; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import com.cooleshow.base.utils.LogUtils; 
														 | 
														
														 | 
														
															 import com.cooleshow.base.utils.LogUtils; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import com.cooleshow.base.utils.PermissionUtils; 
														 | 
														
														 | 
														
															 import com.cooleshow.base.utils.PermissionUtils; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import com.cooleshow.base.utils.ToastUtil; 
														 | 
														
														 | 
														
															 import com.cooleshow.base.utils.ToastUtil; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import com.cooleshow.base.utils.UiUtils; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import com.cooleshow.base.utils.Utils; 
														 | 
														
														 | 
														
															 import com.cooleshow.base.utils.Utils; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import com.cooleshow.base.utils.WebParamsUtils; 
														 | 
														
														 | 
														
															 import com.cooleshow.base.utils.WebParamsUtils; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import com.cooleshow.base.websocket.JWebSocketClient; 
														 | 
														
														 | 
														
															 import com.cooleshow.base.websocket.JWebSocketClient; 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -414,23 +415,7 @@ public class AccompanyFragment extends BaseMVPFragment<FragmentAccompanyBinding, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         } catch (JSONException e) { 
														 | 
														
														 | 
														
															                         } catch (JSONException e) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                             e.printStackTrace(); 
														 | 
														
														 | 
														
															                             e.printStackTrace(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         } 
														 | 
														
														 | 
														
															                         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                        DialogUtil.showInCenter(getChildFragmentManager(), com.cooleshow.base.R.layout.accompany_permissions_popu, (holder, dialog) -> { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            TextView tvTitle = holder.getView(com.cooleshow.base.R.id.tv_title); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            TextView tvContent = holder.getView(com.cooleshow.base.R.id.tv_content); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            TextView btncancel = holder.getView(com.cooleshow.base.R.id.btn_cancel); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            TextView btnCommit = holder.getView(com.cooleshow.base.R.id.btn_commit); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            tvTitle.setText("提示"); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            tvContent.setText("请开启麦克风访问权限"); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            btncancel.setOnClickListener(view1 -> { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                dialog.dismiss(); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            }); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            btnCommit.setOnClickListener(view1 -> { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                PermissionUtils.toSelfSetting(getContext()); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                dialog.dismiss(); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            }); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                        }); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                        UiUtils.showPermissionTipDialog(getChildFragmentManager(),getContext(),"提示","请开启麦克风访问权限"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     } 
														 | 
														
														 | 
														
															                     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 }); 
														 | 
														
														 | 
														
															                 }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -811,23 +796,7 @@ public class AccompanyFragment extends BaseMVPFragment<FragmentAccompanyBinding, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         if (permission) { 
														 | 
														
														 | 
														
															                         if (permission) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                             startWebSocketClient(message); 
														 | 
														
														 | 
														
															                             startWebSocketClient(message); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         } else { 
														 | 
														
														 | 
														
															                         } else { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            DialogUtil.showInCenter(getChildFragmentManager(), com.cooleshow.base.R.layout.accompany_permissions_popu, (holder, dialog) -> { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                TextView tvTitle = holder.getView(com.cooleshow.base.R.id.tv_title); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                TextView tvContent = holder.getView(com.cooleshow.base.R.id.tv_content); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                TextView btncancel = holder.getView(com.cooleshow.base.R.id.btn_cancel); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                TextView btnCommit = holder.getView(com.cooleshow.base.R.id.btn_commit); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                tvTitle.setText("提示"); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                tvContent.setText("请开启麦克风访问权限"); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                btncancel.setOnClickListener(view1 -> { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                    dialog.dismiss(); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                }); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                btnCommit.setOnClickListener(view1 -> { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                    PermissionUtils.toSelfSetting(getContext()); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                    dialog.dismiss(); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                }); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            }); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                            UiUtils.showPermissionTipDialog(getChildFragmentManager(),getContext(),"提示","请开启麦克风访问权限"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         } 
														 | 
														
														 | 
														
															                         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     }); 
														 | 
														
														 | 
														
															                     }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -1170,23 +1139,7 @@ public class AccompanyFragment extends BaseMVPFragment<FragmentAccompanyBinding, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         } catch (JSONException e) { 
														 | 
														
														 | 
														
															                         } catch (JSONException e) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                             e.printStackTrace(); 
														 | 
														
														 | 
														
															                             e.printStackTrace(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         } 
														 | 
														
														 | 
														
															                         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                        DialogUtil.showInCenter(getChildFragmentManager(), com.cooleshow.base.R.layout.accompany_permissions_popu, (holder, dialog) -> { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            TextView tvTitle = holder.getView(com.cooleshow.base.R.id.tv_title); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            TextView tvContent = holder.getView(com.cooleshow.base.R.id.tv_content); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            TextView btncancel = holder.getView(com.cooleshow.base.R.id.btn_cancel); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            TextView btnCommit = holder.getView(com.cooleshow.base.R.id.btn_commit); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            tvTitle.setText("提示"); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            tvContent.setText("请开启摄像头、麦克风、储存访问权限"); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            btncancel.setOnClickListener(view1 -> { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                dialog.dismiss(); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            }); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            btnCommit.setOnClickListener(view1 -> { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                PermissionUtils.toSelfSetting(getContext()); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                dialog.dismiss(); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            }); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                        }); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                        UiUtils.showPermissionTipDialog(getChildFragmentManager(),getContext(),"提示","请开启摄像头、麦克风、储存访问权限"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     } 
														 | 
														
														 | 
														
															                     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 }); 
														 | 
														
														 | 
														
															                 }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -1219,20 +1172,7 @@ public class AccompanyFragment extends BaseMVPFragment<FragmentAccompanyBinding, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         } catch (JSONException e) { 
														 | 
														
														 | 
														
															                         } catch (JSONException e) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                             e.printStackTrace(); 
														 | 
														
														 | 
														
															                             e.printStackTrace(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         } 
														 | 
														
														 | 
														
															                         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                        DialogUtil.showInCenter(getChildFragmentManager(), com.cooleshow.base.R.layout.accompany_permissions_popu, (holder, dialog) -> { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            TextView tvContent = holder.getView(com.cooleshow.base.R.id.tv_content); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            TextView btncancel = holder.getView(com.cooleshow.base.R.id.btn_cancel); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            TextView btnCommit = holder.getView(com.cooleshow.base.R.id.btn_commit); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            tvContent.setText("请开启摄像头、麦克风、储存访问权限"); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            btncancel.setOnClickListener(view1 -> { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                dialog.dismiss(); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            }); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            btnCommit.setOnClickListener(view1 -> { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                PermissionUtils.toSelfSetting(getContext()); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                dialog.dismiss(); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            }); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                        }); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                        UiUtils.showPermissionTipDialog(getChildFragmentManager(),getContext(),"提示","请开启摄像头、麦克风、储存访问权限"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     } 
														 | 
														
														 | 
														
															                     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 }); 
														 | 
														
														 | 
														
															                 }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -1782,19 +1722,7 @@ public class AccompanyFragment extends BaseMVPFragment<FragmentAccompanyBinding, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                                 e.printStackTrace(); 
														 | 
														
														 | 
														
															                                 e.printStackTrace(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                             } 
														 | 
														
														 | 
														
															                             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         } else { 
														 | 
														
														 | 
														
															                         } else { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            DialogUtil.showInCenter(getChildFragmentManager(), com.cooleshow.base.R.layout.accompany_permissions_popu, (holder, dialog) -> { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                TextView tvContent = holder.getView(com.cooleshow.base.R.id.tv_content); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                TextView btncancel = holder.getView(com.cooleshow.base.R.id.btn_cancel); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                TextView btnCommit = holder.getView(com.cooleshow.base.R.id.btn_commit); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                tvContent.setText("请开启储存访问权限"); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                btncancel.setOnClickListener(view1 -> { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                    dialog.dismiss(); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                }); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                btnCommit.setOnClickListener(view1 -> { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                    PermissionUtils.toSelfSetting(getContext()); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                    dialog.dismiss(); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                                }); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                            }); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                            UiUtils.showPermissionTipDialog(getChildFragmentManager(),getContext(),"提示","请开启储存访问权限"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                         } 
														 | 
														
														 | 
														
															                         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                     }); 
														 | 
														
														 | 
														
															                     }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } catch (Exception e) { 
														 | 
														
														 | 
														
															         } catch (Exception e) { 
														 |