Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8740ec09 authored by Mateusz Cicheński's avatar Mateusz Cicheński Committed by Automerger Merge Worker
Browse files

Merge "Set alpha to 1 if not using alpha animation" into udc-dev am: 7de2640d

parents cf13d9bb 7de2640d
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -856,6 +856,9 @@ public class PipTransition extends PipTransitionController {
        final int enterAnimationType = mEnterAnimationType;
        final int enterAnimationType = mEnterAnimationType;
        if (enterAnimationType == ANIM_TYPE_ALPHA) {
        if (enterAnimationType == ANIM_TYPE_ALPHA) {
            startTransaction.setAlpha(leash, 0f);
            startTransaction.setAlpha(leash, 0f);
        } else {
            // set alpha to 1, because for multi-activity PiP it will create a new task with alpha 0
            startTransaction.setAlpha(leash, 1f);
        }
        }
        startTransaction.apply();
        startTransaction.apply();