Skip to content

Conversation

@grzesiek2010
Copy link
Member

@grzesiek2010 grzesiek2010 commented Feb 24, 2022

Closes #5039

What has been done to verify that this works as intended?

I've added automated tests.

Why is this the best possible solution? Were any other approaches considered?

It's just a fix, not much to discuss here.

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

It should just fix the issue and have no side effects.

Do we need any specific form for testing your changes? If so, please attach one.

The form attached to the issue.

Does this change require updates to documentation? If so, please file an issue here and include the link below.

No.

Before submitting this PR, please make sure you have:

  • run ./gradlew checkAll and confirmed all checks still pass OR confirm CircleCI build passes and run ./gradlew connectedDebugAndroidTest locally.
  • verified that any code or assets from external sources are properly credited in comments and/or in the about file.
  • verified that any new UI elements use theme colors. UI Components Style guidelines

@grzesiek2010 grzesiek2010 requested a review from seadowg February 24, 2022 14:33
Copy link
Member

@seadowg seadowg left a comment

Choose a reason for hiding this comment

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

Nice failing test and a good solve!

@seadowg seadowg added high priority Should be looked at before other PRs/issues needs testing labels Feb 25, 2022
@kkrawczyk123
Copy link
Contributor

Tested with success!
Verified on Androids: 5.1 and 8.1

Verified cases:

  • form attached to the issue
  • unable to reproduce the crash
  • minimize app
  • screen rotation
  • quick regression check on all geowidgets

@srujner
Copy link

srujner commented Feb 25, 2022

Tested with success!

Verified on Androids: 10 and 11

@seadowg seadowg merged commit c60d91b into getodk:master Feb 25, 2022
seadowg added a commit that referenced this pull request Feb 25, 2022
Handle invalid accuracyThreshold and unacceptableAccuracyThreshold
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

behavior verified high priority Should be looked at before other PRs/issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The app crashes if accuracyThreshold or unacceptableAccuracyThreshold are not valid numbers

4 participants