commit | d3b0e54819a2823f8dfe1ab4bafec2038959e7a9 | [log] [tgz] |
---|---|---|
author | arthurhung <arthurhung@google.com> | Thu Apr 23 15:30:21 2020 +0800 |
committer | arthurhung <arthurhung@google.com> | Mon Apr 27 11:18:18 2020 +0800 |
tree | 2b944ef4fa1953ae84fcccb25a34223d02bab8ac | |
parent | d8759bb38daf7f7ed9d84c704734c9e3a15618be [diff] |
Prevent divided by zero if animation is disable Developer could disable window animation in developer options, but it could lead to system crash because the transform values may divid duration time which is set to zero. Bug: 154894010 Test: disable animation, open simlated display, resize Change-Id: I550c309d9f684e2a5a50b4d6812703dd20a179b5