fix offline work · passiontim/AndroidVideoCache@63ee20f · GitHub
Skip to content

Commit 63ee20f

Browse files
committed
fix offline work
1 parent 88da0aa commit 63ee20f

4 files changed

Lines changed: 7 additions & 5 deletions

File tree

README.md

Lines changed: 4 additions & 2 deletions

library/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ publish {
2626
userOrg = 'alexeydanilov'
2727
groupId = 'com.danikula'
2828
artifactId = 'videocache'
29-
publishVersion = '2.1.1'
29+
publishVersion = '2.1.2'
3030
description = 'Cache support for android VideoView'
3131
website = 'https://github.com/danikula/AndroidVideoCache'
3232
}

library/src/main/java/com/danikula/videocache/HttpUrlSource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ private void fetchContentInfo() throws ProxyCacheException {
9999
inputStream = urlConnection.getInputStream();
100100
Log.i(LOG_TAG, "Content info for `" + url + "`: mime: " + mime + ", content-length: " + available);
101101
} catch (IOException e) {
102-
throw new ProxyCacheException("Error fetching Content-Length from " + url);
102+
Log.e(LOG_TAG, "Error fetching info from " + url, e);
103103
} finally {
104104
ProxyCacheUtils.close(inputStream);
105105
if (urlConnection != null) {

sample/build.gradle

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)