屏蔽点击版本号分享日志的功能

This commit is contained in:
zlzw 2022-11-18 17:02:55 +08:00
parent 40b37b49f9
commit 009efc2c86

View File

@ -150,6 +150,9 @@ public class LogUtil {
public static void shareFile(Context context) {
if(true){
return;
}
if (PermissionChecker.checkCallingOrSelfPermission(context, Manifest.permission.WRITE_EXTERNAL_STORAGE) != PERMISSION_GRANTED) {
ActivityCompat.requestPermissions((Activity) context, new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE}, 100);
return;