Merge "Correct SHOW_WALLPAPER conflicts the definition of isTranslucent" into tm-qpr-dev

This commit is contained in:
Wei Sheng Shih
2022-07-29 12:44:05 +00:00
committed by Android (Google) Code Review

View File

@@ -205,8 +205,7 @@ public class RemoteAnimationTargetCompat {
// TODO: once we can properly sync transactions across process, then get rid of this leash.
leash = createLeash(info, change, order, t);
isTranslucent = (change.getFlags() & TransitionInfo.FLAG_TRANSLUCENT) != 0
|| (change.getFlags() & TransitionInfo.FLAG_SHOW_WALLPAPER) != 0;
isTranslucent = (change.getFlags() & TransitionInfo.FLAG_TRANSLUCENT) != 0;
clipRect = null;
position = null;
localBounds = new Rect(change.getEndAbsBounds());