diff options
author | Filip Gruszczynski <gruszczy@google.com> | 2015-07-27 15:28:29 -0700 |
---|---|---|
committer | Filip Gruszczynski <gruszczy@google.com> | 2015-07-27 15:32:21 -0700 |
commit | 0b388d4a368e8503411450504c6e3d39952bce16 (patch) | |
tree | 56bbbb164aab918a8b3b26d1d2e8bdab7c0511b4 /core/tests/SvcMonitor | |
parent | 550f1d4eb3c9b0131106490841a6a369df639133 (diff) | |
download | frameworks_base-0b388d4a368e8503411450504c6e3d39952bce16.zip frameworks_base-0b388d4a368e8503411450504c6e3d39952bce16.tar.gz frameworks_base-0b388d4a368e8503411450504c6e3d39952bce16.tar.bz2 |
Don't animate burn-in return when it wasn't applied.
The burn-in protection return animation is performed based on the last
offset that was used, but it doesn't mean that such offset is currently
applied. Right after entering ambient mode no offset is applied, so if
we start a return animation using the last applied offset, it will cause
a shake. The animation will first shift from 0, 0 offset to the last
offset and then return again to 0, 0. This CL makes it not apply the
animation in that case.
Bug: 22519478
Change-Id: I5cb750b56e9715c6d9389136071a5e0fbafb047b
Diffstat (limited to 'core/tests/SvcMonitor')
0 files changed, 0 insertions, 0 deletions