Go back to the old ear-wiggling Android animation.

But keep the new code so we can easily test new animations when we have them.

This change includes tbao's de-interlace script, plus a one-liner that's
necessary to play the animation at the correct speed when there's no
progress bar showing. (This was always a bug, it's just way more noticeable
when your animation only has 7 frames.)

Bug: http://b/28316654
Bug: http://b/26548285
Change-Id: I32c601c352d6be235d1b44f14fca7e125defd77d
This commit is contained in:
Elliott Hughes
2016-04-21 14:26:14 -07:00
parent df093c1512
commit 692941be79
457 changed files with 48 additions and 15 deletions

View File

@@ -146,7 +146,6 @@ void ScreenRecoveryUI::draw_background_locked() {
// Should only be called with updateMutex locked.
void ScreenRecoveryUI::draw_progress_locked() {
if (currentIcon == ERROR) return;
if (progressBarType != DETERMINATE) return;
if (currentIcon == INSTALLING_UPDATE || currentIcon == ERASING) {
GRSurface* frame = GetCurrentFrame();