Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix ImageAssetManager.bitmapForId NPE crash #2117

Merged
merged 3 commits into from
Aug 10, 2022
Merged

Conversation

hsrzq
Copy link
Contributor

@hsrzq hsrzq commented Aug 8, 2022

In Android docs, BitmapFactory.decodeStream may return NULL, This is a legal return value, we did not deal with it, NPE may occur in some cases. So I fixed it.

@LottieSnapshotBot
Copy link

Snapshot Tests
28: Report Diff

@LottieSnapshotBot
Copy link

Snapshot Tests
28: Report Diff

@LottieSnapshotBot
Copy link

Snapshot Tests
28: Report Diff

@LottieSnapshotBot
Copy link

Snapshot Tests
28: Report Diff

@gpeal gpeal merged commit 108b1be into airbnb:master Aug 10, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants