安卓自带分享功能出现的exposed beyond app through ClipData.Item.getUri

在Oncreat里面添加:
//--------------------------------------------------------------------------------------------------------------
//        StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder();
//        StrictMode.setVmPolicy(builder.build());
//        builder.detectFileUriExposure();
//        //--------------------------------------------------------------------------------------------------------------

你可能感兴趣的:(安卓自带分享功能出现的exposed beyond app through ClipData.Item.getUri)