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