Fix HTTP exceptions handling for notification images
This commit is contained in:
parent
6d80420a9b
commit
53b31d8e90
@ -145,7 +145,7 @@ public class MessagingService extends FirebaseMessagingService {
|
|||||||
connection.connect();
|
connection.connect();
|
||||||
InputStream input = connection.getInputStream();
|
InputStream input = connection.getInputStream();
|
||||||
return BitmapFactory.decodeStream(input);
|
return BitmapFactory.decodeStream(input);
|
||||||
} catch (IOException e) {
|
} catch (Exception e) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user