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

Commit 0de21dad authored by wilsonshih's avatar wilsonshih
Browse files

Support excluding caption bar from task snapshot

This adds the registerExcludeLayersFromTaskSnapshot() method for
TaskOrganizer. It provides a way for clients to register a set of
layers that should be excluded when a task snapshot is taken,
specifically for layers not managed by the Window Manager.
Also extract the bgExecutor to WindowDecoration.

Bug: 399228526
Flag: com.android.window.flags.excluding_layer_from_task_snapshot
Test: enable desktop windowing mode, open app, move the task to back
then enter Overivew, verify the caption bar won't show in the
TaskView

Change-Id: I14f6c72499118e4f7308a1053f152d0a5f334be1
parent c89bedf7
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