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
3 files changed