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

Commit 4b024ab8 authored by Kazuki Takise's avatar Kazuki Takise
Browse files

Control presentation policy with FLAG_PRESENTATION on internal displays

Currently with the Presentation API for CD project, presentations
are allowed on all displays by default because this is almost
equivalent to allowing presentations on internal + external displays.

However, to mitigate risks to inadvertently allow presentations
on displays where we shouldn't on some platforms such as AAOS,
this change sets FLAG_PRESENTATION explicitly to internal
dipslays and has PresentationController check this.

This change also adds a config overlay for this to disable this
behavior on some platforms.

Flag: com.android.window.flags.enable_presentation_for_connected_displays
Bug: 429927513
Test: PresentationTest
Change-Id: Iee7376927b145e9f1589d1e25eef3f6dc45baef7
parent bd70cc82
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