Fixed
Status Update
Comments
wu...@google.com <wu...@google.com> #2
seems to be dup:
le...@google.com <le...@google.com>
le...@google.com <le...@google.com>
ap...@google.com <ap...@google.com> #3
Fundamentally the issue here is that the selection logic happening in composition depends on the text layout result which is available on measure. So we end up using stale TextLayoutResult which causes the issue.
le...@google.com <le...@google.com> #4
This is the same exception as in
pr...@google.com <pr...@google.com> #5
There is a similar problem regarding Magnifier but I don't think these are directly related. The main cause for this issue is the async relation between TextFieldValue and layoutResult. Magnifier related crashes don't seem to be caused by changes in TextFieldValue or layout.
Description
CAMERAX VERSION: 1.3.0-alpha03
CAMERA APPLICATION NAME AND VERSION: LinkedIn 4.1.793
ANDROID OS BUILD NUMBER: 8, 10, 11, 12, 13
DEVICE NAME: Several Samsung (A51, A11, A32..) and Xiaomi (Redmi 9) devices
DESCRIPTION:
Our crash monitoring reports a few instances of the following crash:
LIST ANY EXPERIMENTAL FEATURES: androidx.camera.view.video.ExperimentalVideo
ADDITIONAL INFORMATION: 8 external instances reported over the past week, no internal reports, not reproducible during our normal testing
CODE FRAGMENTS (this will help us troubleshoot your issues):