diff options
author | lumark <lumark@google.com> | 2020-02-10 18:41:57 +0800 |
---|---|---|
committer | lumark <lumark@google.com> | 2020-02-28 14:06:55 +0800 |
commit | 8669ef385780b8415412407deec85539a1e7db98 (patch) | |
tree | 97155e8a177047c63626a00ccb0d76b1c62c3afe /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | f416c7f9cd7c6b87165cf7f649ea3504046f5fed (diff) |
Restrict app transition maximum duration
As WindowState#startAnimation for restricting window animation duration
(currently is 10 secs),
For security reason, we also need to restrict app transition animation
duration as 3 secs to prevent malicious app may set a long duration or
infinity repeat counts through ActivityOption#makeCustomAnimation or
Activity#overridePendingTransition with custom animation set.
Bug: 145728687
Test: manual as issue provided test app
Change-Id: I39051d6e4d2b681ce2becbafe14aab3f3d8ebf6b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions