Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Validate width/height aren't 0 for snapshot #11364

Merged
merged 1 commit into from
Mar 2, 2018

Conversation

tobrun
Copy link
Member

@tobrun tobrun commented Mar 2, 2018

This PR replaces the native crash that occurs when creating a snapshot with width or height 0 with an IllegalArgumentException.

cc @ivovandongen

@tobrun tobrun added the Android Mapbox Maps SDK for Android label Mar 2, 2018
@tobrun tobrun added this to the android-v6.0.0 milestone Mar 2, 2018
@tobrun tobrun self-assigned this Mar 2, 2018
@tobrun tobrun requested a review from LukasPaczos March 2, 2018 09:10
@tobrun tobrun merged commit 6ca4949 into release-boba Mar 2, 2018
@tobrun tobrun deleted the tvn-check-snapshot-widht-height-0 branch March 2, 2018 12:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants