Skip to content

Remove code causing points to be added on rotate#7049

Merged
grzesiek2010 merged 2 commits intogetodk:masterfrom
seadowg:automatic-rotate
Jan 23, 2026
Merged

Remove code causing points to be added on rotate#7049
grzesiek2010 merged 2 commits intogetodk:masterfrom
seadowg:automatic-rotate

Conversation

@seadowg
Copy link
Member

@seadowg seadowg commented Jan 23, 2026

Closes #7048

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

This was just some leftover, untested code causing problems.

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?

Just fixes the bug. No need to test with different maps.

Before submitting this PR, please make sure you have:

  • added or modified tests for any new or changed behavior
  • run ./gradlew connectedAndroidTest (or ./gradlew testLab) and confirmed all checks still pass
  • added a comment above any new strings describing it for translators
  • added any new strings with date formatting to DateFormatsTest
  • 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

}

public FormEntryPage assertBackgroundLocationSnackbarShown() {
onView(withId(com.google.android.material.R.id.snackbar_text))
Copy link
Member Author

Choose a reason for hiding this comment

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

This failed for me when running ./gradlew testLab

@seadowg seadowg marked this pull request as ready for review January 23, 2026 14:20
@seadowg seadowg requested a review from grzesiek2010 January 23, 2026 14:21
@grzesiek2010 grzesiek2010 merged commit 5c0384e into getodk:master Jan 23, 2026
7 checks passed
@seadowg seadowg deleted the automatic-rotate branch January 26, 2026 09:13
@dbemke
Copy link

dbemke commented Jan 28, 2026

Tested with Success!

Verified on devices with Android 10

Verified cases:

@WKobus
Copy link

WKobus commented Jan 28, 2026

Tested with success

Verified on Android 16

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.

Rotating device in geoshape/geotrace question while automatic location recording is active creates a point

4 participants