diff options
author | lumark <lumark@google.com> | 2019-06-12 16:58:35 +0800 |
---|---|---|
committer | lumark <lumark@google.com> | 2019-06-14 18:52:21 +0800 |
commit | ce596d31cb99faf62476f84e250f721e12733242 (patch) | |
tree | 4f65fc3c58238e309f2f2166fe667a3cdecdc69c /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | e252d155b13e0f63ea4d2ff148bbb74aaf7db1da (diff) |
Don't apply some custom animation cases from app in WindowStateAnimator
In general, app main window the animation should applied by
AppWindowToken#applyAnimationLocked through app transition.
We should avoid application can apply animation through
WM.LayoutParams.windowAnimation for app main window.
We also ignore application to customize starting window animation,
since starting window is a special window for displaying while app
starting, application should not use or change animation directly.
Bug: 133274628
Test: atest AppTransitionTests
Test: manual, as below steps:
1) Launch apps (i.e. Pocketcasts) that override windowAnimation style
with custom animation for app main window or starting window
(TYPE_BASE_APPLICATION | TYPE_APPLICATION_STARTING).
2) In gesture nav, swipe left & right back on nav bar.
3) Expect the app's main window should not have animation or flick.
Change-Id: Ibeac1e513023ab19bcfb7ee412f41a570e917a17
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions