Skip to content

Fix potential NPE when getting soft reference

akwizgran requested to merge emoji-soft-reference into master

This is an old branch I had lying around that fixes a potential NPE in EmojiProvider if a SoftReference becomes null between two calls to SoftReference#get(). The branch also changes the error handling slightly so that if there's an exception while loading a bitmap, listeners learn of the failure rather than getting a null result.

Merge request reports