commit | 61fe23a1bce9245e3a085550197e80ddc3228d1f | [log] [tgz] |
---|---|---|
author | Daniel Santiago Rivera <danysantiago@google.com> | Tue Feb 05 12:41:39 2019 -0800 |
committer | Daniel Santiago Rivera <danysantiago@google.com> | Tue Feb 05 13:13:38 2019 -0800 |
tree | 23195a50efbdb814a7e299451bcc23b050076e89 | |
parent | affa55b49baebce7ae1b8bb893e015379df83a49 [diff] |
Restrict reflection access to ValueAnimator's sDurationScale An alternative method, areAnimatorsEnabled() can be used to determine if animations are turned off or not. Otherwise, reflection access of the value are not permitted since it is an implementation detail that can break battery saver mode or user's choice of disabling system-wide animations. Bug: 123767751 Test: n/a Change-Id: I2146613a5921e229f7db641c34732bc1044766fc