summaryrefslogtreecommitdiff
path: root/libs/hwui/WebViewFunctorManager.cpp
diff options
context:
space:
mode:
authorBeth Thibodeau <ethibodeau@google.com>2021-06-30 20:06:26 -0400
committerBeth Thibodeau <ethibodeau@google.com>2021-06-30 22:22:01 -0400
commit5511a4d8ce1967f29220b66e5707e2c8b18e6f60 (patch)
tree66c20c2c7d4ffd98f426d64cd5531f5a5acedaa4 /libs/hwui/WebViewFunctorManager.cpp
parent743d8f165f3f4bea9b636c75b790ac13af8416d6 (diff)
Fix transition after restarting inactive media
The previousLocation was updated when it shouldn't have been, which resulted in the animation always thinking it was going from QS to QS in the first transition after restarting media. To fix this: 1. Only update the previous location when it has changed (how it worked before the forceStateUpdate parameter was added) 2. When forceStateUpdate is true, check where the next animation ought to be and update if necessary Test: swipe away small player, restart from QS, swipe back to QQS Fixes: 192384088 Change-Id: Ib44e9bd9087549d60f09f90c09ad1f2e0da82069
Diffstat (limited to 'libs/hwui/WebViewFunctorManager.cpp')
0 files changed, 0 insertions, 0 deletions