Fix tabs abruptly reset during swipe
The indicator position has already been updated by
PersonalWorkPagedView#onScrollChanged. The updateIndicatorPosition
call in setActiveMarker has abruptly reset the mScrollOffset to a page
index rather than a [0f, 1f] offset.
Test: On a work profile device, swipe left & right in the all apps.
Then, swipe left & right in the full widgets picker. In both
cases, I no longer observe an abruptly reset of the tabs
transition animation.
Bug: 187704466
Change-Id: I53c4ed3a98219093f3d61dfa4de2fe21ec88851c
1 file changed