diff options
| author | 2021-05-20 15:38:41 +0800 | |
|---|---|---|
| committer | 2021-05-25 22:02:35 +0800 | |
| commit | 29745f73d4167d6f25d6990a3bb5db4bb76af970 (patch) | |
| tree | d98c05e23dc6a0ae5cbec97e3d2534bc45ae1752 | |
| parent | cc0987b12a4b8e3731f39614324a5c28bd4ec52b (diff) | |
Use opaque enter animation for freezing without rotation change
Currently the alpha of root surface applies to child surfaces
individually instead of the composited result. To polish the
see through effect, keep the enter animation with alpha 1.
Bug: 185403130
Test: Toggle dark theme from quick setting.
The app behind notification shade won't be slightly visible.
Change-Id: I88d93a5e365a50b3965f634c20741450e8127fba
| -rw-r--r-- | services/core/java/com/android/server/wm/ScreenRotationAnimation.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/wm/ScreenRotationAnimation.java b/services/core/java/com/android/server/wm/ScreenRotationAnimation.java index 50749a961b27..9d8b8f76ad40 100644 --- a/services/core/java/com/android/server/wm/ScreenRotationAnimation.java +++ b/services/core/java/com/android/server/wm/ScreenRotationAnimation.java @@ -372,7 +372,7 @@ class ScreenRotationAnimation { mRotateExitAnimation = AnimationUtils.loadAnimation(mContext, R.anim.screen_rotate_0_exit); mRotateEnterAnimation = AnimationUtils.loadAnimation(mContext, - R.anim.screen_rotate_0_enter); + R.anim.rotation_animation_enter); break; case Surface.ROTATION_90: mRotateExitAnimation = AnimationUtils.loadAnimation(mContext, |