update libs

This commit is contained in:
Alexey Kuznetsov 2022-03-07 09:04:59 +03:00
commit 618452fee0
2 changed files with 2 additions and 3 deletions

View file

@ -53,7 +53,7 @@ android {
dependencies {
testImplementation 'junit:junit:4.12'
implementation ('com.github.axet:android-audio-library:1.1.6') // implementation project(':android-audio-library')
implementation ('com.github.axet:android-audio-library:1.1.7') // implementation project(':android-audio-library')
implementation ('com.github.axet:wget:1.7.0') { exclude group: 'org.json', module: 'json' }
assets('com.google.android.exoplayer:exoplayer:2.7.3') { exclude group: 'com.android.support' }
}

View file

@ -84,7 +84,6 @@ public class EncodingStorage extends HashMap<File, EncodingStorage.Info> {
public void load() {
clear();
load(storage.getTempEncoding().getParentFile());
Context context = storage.getContext();
load(context.getCacheDir());
load(context.getExternalCacheDir());
@ -111,7 +110,7 @@ public class EncodingStorage extends HashMap<File, EncodingStorage.Info> {
try {
put(f, new Info(new JSONObject(FileUtils.readFileToString(j, Charset.defaultCharset()))));
} catch (Exception e) {
Log.d(TAG, "unable to read json", e);
Log.d(TAG, "unable to read json " + j, e);
}
}
}