diff options
author | Doris Liu <tianliu@google.com> | 2016-04-13 14:13:49 -0700 |
---|---|---|
committer | Doris Liu <tianliu@google.com> | 2016-04-13 14:13:49 -0700 |
commit | 56b0b570890dbb7baa00da95f5be2eb3e0122f0a (patch) | |
tree | 8523117d964375afbc101bc5dcbe337051464113 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions