mirror of
https://github.com/zhigang1992/AndroidVideoCache.git
synced 2026-06-15 01:49:04 +08:00
#88: ignore ArrayIndexOutOfBoundsException on Android L while disconnecting connection
This commit is contained in:
@@ -95,8 +95,13 @@ public class HttpUrlSource implements Source {
|
||||
} catch (NullPointerException | IllegalArgumentException e) {
|
||||
String message = "Wait... but why? WTF!? " +
|
||||
"Really shouldn't happen any more after fixing https://github.com/danikula/AndroidVideoCache/issues/43. " +
|
||||
"If you read it on your device log, please, notify me danikula@gmail.com or create issue here https://github.com/danikula/AndroidVideoCache/issues.";
|
||||
"If you read it on your device log, please, notify me danikula@gmail.com or create issue here " +
|
||||
"https://github.com/danikula/AndroidVideoCache/issues.";
|
||||
throw new RuntimeException(message, e);
|
||||
} catch (ArrayIndexOutOfBoundsException e) {
|
||||
LOG.error("Error closing connection correctly. Should happen only on Android L. " +
|
||||
"If anybody know how to fix it, please visit https://github.com/danikula/AndroidVideoCache/issues/88. " +
|
||||
"Until good solution is not know, just ignore this issue :(", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user