(File src, File dst)
| 3100 | } |
| 3101 | |
| 3102 | static void copy(File src, File dst) throws IOException { |
| 3103 | try (InputStream is = new FileInputStream(src)) { |
| 3104 | try (OutputStream os = new FileOutputStream(dst)) { |
| 3105 | copy(is, os); |
| 3106 | } |
| 3107 | } |
| 3108 | } |
| 3109 | |
| 3110 | static long copy(Context context, Uri uri, File file) throws IOException { |
| 3111 | try (InputStream is = context.getContentResolver().openInputStream(uri)) { |
no test coverage detected