Skip to content
Commit 5511a4d8 authored by Beth Thibodeau's avatar Beth Thibodeau
Browse files

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
parent 743d8f16
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment