PushNetworkException for network errors on external downloads.

Closes #2112
Fixes #1264

// FREEBIE
This commit is contained in:
agrajaghh
2014-11-20 17:45:44 +01:00
committed by Moxie Marlinspike
parent 5e61161767
commit a9637baddf

View File

@@ -368,6 +368,8 @@ public class PushServiceSocket {
output.close();
Log.w("PushServiceSocket", "Downloaded: " + url + " to: " + localDestination.getAbsolutePath());
} catch (IOException ioe) {
throw new PushNetworkException(ioe);
} finally {
connection.disconnect();
}