diff options
author | lumark <lumark@google.com> | 2020-02-10 18:41:57 +0800 |
---|---|---|
committer | Bryan Ferris <bferris@google.com> | 2020-03-31 23:38:36 +0000 |
commit | 36bcc77337814d4d36e2b10eb062ac417d91611e (patch) | |
tree | daf48c3b8bf43fc6dcf319f33f6de1b435914ed4 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | ab012da3a2ee2f85dd940a662859915bbd93a7d7 (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 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions