Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ef5d4edb authored by linus_lee's avatar linus_lee
Browse files

Eleven: Handle partially downloaded images more gracefully

If the server interrupts the connection, we don't get a signal but
we can tell based on the content length
Also modified the code to read more than 1 byte at a time

I was able to simulate a repro by forcing the download to quit part
way through

https://cyanogen.atlassian.net/browse/MUSIC-147

Change-Id: I925fb9cef41485b55219ec4d2443ba809c83bce2
parent 7b68ef98
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment