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
I attach list of devices on which it is crashing, stack trace and sdk versions
BUILD INFO
I attached photos with this info
STEPS TO REPRODUCE
[Be as specific as possible please]
1. invoke method BiometricManager.canAuthenticate
EXPECTED RESULTS
method is not crashing
OBSERVED RESULTS
method crashing periodically on samsung devices according to firebase crashlytics
NUMBER OF TIMES YOU WERE ABLE TO REPRODUCE:
I didn't reproduce this crash, because its floating and only on samsung devices, I have pixel