Promote keyguardGoingAwayWallpaper check condition.

Transit is moved to WindowContainer. Promote the check from
activityRecord to animatingContainer.
Also fix the duration of non-app window transition have not scaled.

Fixes: 152016945
Test: atest WallpaperControllerTests AppTransitionControllerTest
Change-Id: Icb09841db1c1db9195d34635163792139ba2e095
2 files changed