commit | 56b0b570890dbb7baa00da95f5be2eb3e0122f0a | [log] [tgz] |
---|---|---|
author | Doris Liu <tianliu@google.com> | Wed Apr 13 14:13:49 2016 -0700 |
committer | Doris Liu <tianliu@google.com> | Wed Apr 13 14:13:49 2016 -0700 |
tree | 8523117d964375afbc101bc5dcbe337051464113 | |
parent | b6e1dafe78b2875ebe1837508e28c8dce2693b19 [diff] |
Skip to end for 0-duration animation Repeating a 0-duration animation makes no sense. In the case of battery saver mode, all animators are set to 0 duration, and repeating the 0 duration animations not only waste battery power but also potentially produce flickers on screen. In this CL, 0-duration animations are skipped to the end, regardless their repeat count. Bug: 25451472 Change-Id: I20f9dc2f0ff9c027782a8363ff4cf4a4d390736c