我正在使用SAF(存储访问框架)将文件写入SD卡。在Marshmallow上,文件的写入和更新实际上有很大的延迟(大约10秒)。当我使用例如:android.support.v4.provider.DocumentFiledocFile=DocumentFile.fromTreeUri(context,getUri())//treeurithatrepresentssomeexistingfileonsdcardFilefile=getFile(getUri());//java.io.FilethatpointstosamefileasdocFiledocFile.length();/