Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

Commit

Permalink
🐛🐧 Issue #1421: Notification delay caused by icon bitmap timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
macdonst committed Jan 6, 2017
1 parent 5912b1e commit fb4b533
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/android/com/adobe/phonegap/push/GCMIntentService.java
Original file line number Diff line number Diff line change
Expand Up @@ -762,6 +762,7 @@ public Bitmap getBitmapFromURL(String strURL) {
try {
URL url = new URL(strURL);
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
connection.setConnectTimeout(15000);
connection.setDoInput(true);
connection.connect();
InputStream input = connection.getInputStream();
Expand Down

0 comments on commit fb4b533

Please sign in to comment.