diff options
| author | 2025-02-20 17:34:29 +0900 | |
|---|---|---|
| committer | 2025-02-24 21:04:05 +0900 | |
| commit | 92ee62a1d39e73600dbbd121ceb0f3a4c416c3cf (patch) | |
| tree | 8b75c785c40a861d0152f531a3fee7cb75c7aefe /libs/androidfw/AttributeResolution.cpp | |
| parent | 543337c731654c712d080a2920c6863aa0a8e4e1 (diff) | |
Introduce new presentation policies for Connected Displays
This change introces several new policies to presentations in the
form of PresentationController#canPresent(), which is called both
when a new presentation is being added and when any WM hieararchy
Change we're interested in happens.
The policies we introduce:
- All displays can't present simultaneously.
- A display can't have multiple presentations.
- A presentation can't cover its own host task.
- A globally focused host task on a different display is needed
to show a presentation on a non-presenting display.
Flag: com.android.window.flags.enable_presentation_for_connected_displays
Bug: 390481621
Bug: 393945496
Bug: 394504684
Bug: 395475549
Bug: 396552435
Test: atest WmTests:PresentationControllerTests
Change-Id: I1fde2165494896d7a3db7d5aef28fdd0d04b400d
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions