(String tmpPath)
| 107 | } |
| 108 | |
| 109 | static String toFinalPath(String tmpPath) { |
| 110 | final File file = new File(tmpPath); |
| 111 | final String name = file.getName(); |
| 112 | return Uri.decode(name); |
| 113 | } |
| 114 | |
| 115 | File toTmpFile(String finalPath) { |
| 116 | return new File(downloadDirectory, Uri.encode(finalPath)); |
no outgoing calls
no test coverage detected