udpate
This commit is contained in:
parent
b40abb9bc0
commit
20ccb37ccf
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user