Assigned
Status Update
Comments
wg...@gmail.com <wg...@gmail.com> #2
I face with the same problem. I have different pageMargin in landscape and portrait and when viewpager is scrolled for the more than first position, after rotating device it is shifted.
I beleive the problem is inside onSizeChanged that is called after onConfigurationChanged, it has following code:
if (w != oldw) {
recomputeScrollPosition(w, oldw, mPageMargin, mPageMargin);
}
w always not equals oldw when changing orientation, so recomputeScrollPosition is called, but whit the same values for margin and oldMargin.
This should be fixed.
I beleive the problem is inside onSizeChanged that is called after onConfigurationChanged, it has following code:
if (w != oldw) {
recomputeScrollPosition(w, oldw, mPageMargin, mPageMargin);
}
w always not equals oldw when changing orientation, so recomputeScrollPosition is called, but whit the same values for margin and oldMargin.
This should be fixed.
Description
BUILD INFO
- Device type: Galaxy S22, Samsung A31, Redmi 9, Poco X3
- OS version: 10,11,12,13
- Biometric library version: 1.2.0-alpha04
STEPS TO REPRODUCE
1) Use google codelab
2) We usually encrypt the UUID as a sign that the authorization was successful and for sending to the backend.
3) Authorize via biometrics
EXPECTED RESULTS
No crash
OBSERVED RESULTS
We have a crash on some devices.
NUMBER OF TIMES YOU WERE ABLE TO REPRODUCE (e.g. 10/10)
Added some stacktrace in file.