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
1 file changed