Closed seadowg closed 2 weeks ago
Should "project management" (in settings) also be blocked during form entry?
Should "project management" (in settings) also be blocked during form entry?
Yes. Any settings that allow you to return to the main menu should. In project management you can reset the project, reconfigure with QR code etc which all return to the main menu.
Tested with Success
Verified on device with Android 15
Verified cases:
Tested with Success
Verified on device with Android 10
Closes #6482
I've also cleaned up a couple of cases in
FormFillingActivity
that would return to the main menu in rare states.Why is this the best possible solution? Were any other approaches considered?
As discussed in the issue and elsewhere, we decided to go with blocking these settings during form entry for now as reworking locking would be better to after #5420.
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?
The main things to check here are that the user is not able to access settings that reproduce the bug.
Before submitting this PR, please make sure you have:
./gradlew connectedAndroidTest
(or./gradlew testLab
) and confirmed all checks still passDateFormatsTest