1. 程式人生 > >安卓自帶分享功能出現的exposed beyond app through ClipData.Item.getUri

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

在Oncreat裡面新增:
//--------------------------------------------------------------------------------------------------------------
//        StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder();
//        StrictMode.setVmPolicy(builder.build());
//        builder.detectFileUriExposure();
//        //--------------------------------------------------------------------------------------------------------------