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

Commit 9fe949c7 authored by Massimo Carli's avatar Massimo Carli
Browse files

[29/n] Interact with LetterboxController once

The bounds for the LetterboxController should only be updated
once even in case of transparent activities.

Flag: com.android.window.flags.app_compat_refactoring
Bug: 377875801
Test: m

Change-Id: I95ef20c1215c7a53469c26555c20ac0f93926947
parent 882873b6
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -141,15 +141,15 @@ class LetterboxAnimationHandler @Inject constructor(
                        c.leash,
                        rect.left.toFloat(),
                        rect.top.toFloat()
                    ).apply {
                    )
                }
                controller.updateLetterboxSurfaceBounds(
                    key,
                            startTransaction,
                    tx,
                    taskBounds,
                    rect
                )
                    }.apply()
                }
                tx.apply()
            }
            animExecutor.execute {
                for (c in info.changes) {