-
-
Notifications
You must be signed in to change notification settings - Fork 532
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: [develop] fix android jank ui when returnImage is true #1298
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, except for the missing blank lines for readability.
import java.io.ByteArrayOutputStream | ||
import java.io.IOException | ||
import kotlin.math.roundToInt | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you restore the blank line here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done added back blank line.
@yujune Can you add a changelog entry for this fix? |
@yujune I think we want this change for the master branch (as a new version 6.0.x hotfix) and for the version 7.0.0 beta. |
cc @juliansteenbakker for coordinating this change on dev with the cherry pick on master. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Thanks for your work!
✨ What's the context?
When returnImage is set to true, android device experiences UI Jank when QR code is detected.
scanner_jank.mp4
🛠 Changes being made