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

Commit 4787b0a7 authored by Jorge Gil's avatar Jorge Gil
Browse files

[3/N] Desks: Adjust root task opacity calculation

Changes how non-leaf container opacity is calculated. A container was
considered opaque if it contained any opaque activity within it. Now, to
support container hierarchies that might contain an opaque activity but
are still see-through (such as when an opaque activity/task does not
fill its parent), the calculation is changed to require that at least
one of its children is opaque and matches its bounds.

Flag: com.android.window.flags.enable_multiple_desktops_backend
Bug: 362720497
Test: with a hierarchy such as:
  (front)
  - Freeform root (with fullscreen bounds)
  -- Freeform child (non-fullscreen bounds)
  - Fullscreen task
The fullscreen task remains visible/resumed along with the freeform
root/child
Test: split-screen occludes (makes invisible) the task behind it

Change-Id: I166fa4977d6c1e988275d58ea718ce1119ab9b66
parent b7b68024
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment