diff options
author | lumark <lumark@google.com> | 2020-02-10 18:41:57 +0800 |
---|---|---|
committer | Bryan Ferris <bferris@google.com> | 2020-04-29 18:07:04 +0000 |
commit | ee11625bb707c3512d4e44a35cc85b0bd14a2478 (patch) | |
tree | 42cca58300a678db9b0df4fffdd8e886c5865661 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | fee7e9913bf3e7e21b817dee93c24d9146202aca (diff) |
[RESTRICT AUTOMERGE] 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.cpp')
0 files changed, 0 insertions, 0 deletions