下边代码可以绕过fileprovider权限检测,直接发送fileuri就可以
http://blog.csdn.net/xiaoyu940601/article/details/54406725
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder();
StrictMode.setVmPolicy(builder.build());
}
网友评论