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
Loading
Please register or sign in to comment