[MS-1239] Fragment correctly restores OCR state after being rotated#1456
Merged
alexandr-simprints merged 2 commits intoNov 10, 2025
Conversation
BurningAXE
reviewed
Nov 7, 2025
BurningAXE
approved these changes
Nov 7, 2025
|
luhmirin-s
approved these changes
Nov 10, 2025
Contributor
|
Do we have a testiny case for MFID screen rotations? |
Contributor
Author
@luhmirin-s yes, there are tests: TC-310 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



JIRA ticket
Will be released in: 2025.4.0
Root cause analysis (for bugfixes only)
First known affected version: 2025.4.0
If device is rotated during the OCR scan, the UI is reverted back to the initial screen state. However, frames are still being captured for OCR in background.
This happens because there are two
initializeFragment()invocations in theExternalCredentialScanOcrFragment:Ideally we would like to have the following logic in the fragment:
Notable changes
stateLiveDatatoscanOcrStateLiveDatato explicitly specify that this object stores the state of the OCR, not the state of the fragmentScreen_recording_20251107_134543.mp4
Testing guidance
Additional work checklist