Fix HTTP exceptions handling for notification images

This commit is contained in:
Yegor Vialov 2020-06-03 18:25:07 +00:00
parent 6d80420a9b
commit 53b31d8e90

View File

@ -145,7 +145,7 @@ public class MessagingService extends FirebaseMessagingService {
connection.connect();
InputStream input = connection.getInputStream();
return BitmapFactory.decodeStream(input);
} catch (IOException e) {
} catch (Exception e) {
return null;
}
}