This commit is contained in:
Austin Huang 2021-07-07 17:23:58 -04:00
parent b135276fa2
commit 40907a8bc1
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ public class DownloadsPreferencesFragment extends BasePreferencesFragment {
Utils.setupSelectedDir(context, data);
String path;
try {
path = URLDecoder.decode(data.getData().toString(), StandardCharsets.UTF_8.toString());
path = URLDecoder.decode(data.getData().toString(), StandardCharsets.UTF_8.name());
} catch (UnsupportedEncodingException e) {
path = data.getData().toString();
}