summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorlumark <lumark@google.com>2020-02-10 18:41:57 +0800
committerBryan Ferris <bferris@google.com>2020-03-31 23:40:19 +0000
commit6de34f8ee714691dbc3c089245bf832006826ebe (patch)
tree20e94304ac413abeba5e79da7b65ff4c5d143e8c /tools/aapt2/java/JavaClassGenerator.cpp
parenta032a689a3df9fa2b5b9e9fad248c467f18d5337 (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