Loading libs/WindowManager/Shell/src/com/android/wm/shell/pip/PipAnimationController.java +0 −5 Original line number Original line Diff line number Diff line Loading @@ -743,11 +743,6 @@ public class PipAnimationController { .alpha(tx, leash, 1f) .alpha(tx, leash, 1f) .round(tx, leash, shouldApplyCornerRadius()) .round(tx, leash, shouldApplyCornerRadius()) .shadow(tx, leash, shouldApplyShadowRadius()); .shadow(tx, leash, shouldApplyShadowRadius()); // TODO(b/178632364): this is a work around for the black background when // entering PiP in button navigation mode. if (isInPipDirection(direction)) { tx.setWindowCrop(leash, getStartValue()); } tx.show(leash); tx.show(leash); tx.apply(); tx.apply(); } } Loading Loading
libs/WindowManager/Shell/src/com/android/wm/shell/pip/PipAnimationController.java +0 −5 Original line number Original line Diff line number Diff line Loading @@ -743,11 +743,6 @@ public class PipAnimationController { .alpha(tx, leash, 1f) .alpha(tx, leash, 1f) .round(tx, leash, shouldApplyCornerRadius()) .round(tx, leash, shouldApplyCornerRadius()) .shadow(tx, leash, shouldApplyShadowRadius()); .shadow(tx, leash, shouldApplyShadowRadius()); // TODO(b/178632364): this is a work around for the black background when // entering PiP in button navigation mode. if (isInPipDirection(direction)) { tx.setWindowCrop(leash, getStartValue()); } tx.show(leash); tx.show(leash); tx.apply(); tx.apply(); } } Loading