This commit is contained in:
zlzw 2023-09-27 09:34:07 +08:00
parent b40abb9bc0
commit 20ccb37ccf

View File

@ -158,7 +158,7 @@ public class LogUtil {
public static void shareFile(Context context) { public static void shareFile(Context context) {
/* try { try {
IMLoginModel bean = IMLoginManager.get(context).getUserInfo(); IMLoginModel bean = IMLoginManager.get(context).getUserInfo();
boolean isAnchor=false; boolean isAnchor=false;
if(bean!=null){ if(bean!=null){
@ -170,7 +170,7 @@ public class LogUtil {
} }
} catch (Exception e) { } catch (Exception e) {
return; return;
}*/ }
/* if (PermissionChecker.checkCallingOrSelfPermission(context, Manifest.permission.WRITE_EXTERNAL_STORAGE) != PERMISSION_GRANTED) { /* if (PermissionChecker.checkCallingOrSelfPermission(context, Manifest.permission.WRITE_EXTERNAL_STORAGE) != PERMISSION_GRANTED) {
ActivityCompat.requestPermissions((Activity) context, new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE}, 100); ActivityCompat.requestPermissions((Activity) context, new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE}, 100);
return; return;