This commit is contained in:
Austin Huang 2021-07-24 10:32:00 -04:00
parent a0983249bb
commit d51e8bc626
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ public class DownloadsPreferencesFragment extends BasePreferencesFragment {
String path; String path;
try { try {
path = URLDecoder.decode(data.getData().toString(), StandardCharsets.UTF_8.name()); path = URLDecoder.decode(data.getData().toString(), StandardCharsets.UTF_8.name());
} catch (UnsupportedEncodingException e) { } catch (Exception e) {
path = data.getData().toString(); path = data.getData().toString();
} }
dirPreference.setSummary(path); dirPreference.setSummary(path);