Skip to content

Throw exception when camera plugin is missing#668

Merged
axti merged 1 commit intomainfrom
ag-camera-throw-illegalstateexception
Sep 27, 2021
Merged

Throw exception when camera plugin is missing#668
axti merged 1 commit intomainfrom
ag-camera-throw-illegalstateexception

Conversation

@axti
Copy link
Copy Markdown
Contributor

@axti axti commented Sep 23, 2021

PRs must be submitted under the terms of our Contributor License Agreement CLA.
Fixes: < Link to related issues that will be fixed by this pull request, if they exist >

Pull request checklist:

  • Briefly describe the changes in this PR.
  • Include before/after visuals or gifs if this PR includes visual changes.
  • Write tests for all new functionality. If tests were not written, please explain why.
  • Add example if relevant.
  • Document any changes to public APIs.
  • Apply changelog label ('breaking change', 'bug 🪲', 'build', 'docs', 'feature 🍏', 'performance ⚡', 'testing 💯') or use the label 'skip changelog'
  • Add an entry inside this element for inclusion in the mapbox-maps-android changelog: <changelog>Throw exception when camera plugin was not created and used camera functionality</changelog>.

Summary of changes

Exception will be thrown when camera functionality trying to use but plugin was not added to MapView. Reported in #1118

User impact (optional)

@axti axti requested a review from a team September 23, 2021 13:38
@axti axti self-assigned this Sep 23, 2021
Copy link
Copy Markdown
Contributor

@Chaoba Chaoba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to update the PR title.

@kiryldz
Copy link
Copy Markdown
Contributor

kiryldz commented Sep 23, 2021

@axti please make PR name shorter (it does not even fit) and go thru checkpoints in the PR

@axti axti changed the title Throw exception when camera plugin is missing when trying to use Throw exception when camera plugin is missing Sep 24, 2021
@axti axti merged commit dcece4c into main Sep 27, 2021
@axti axti deleted the ag-camera-throw-illegalstateexception branch September 27, 2021 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants