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

Commit c0409dd9 authored by Kazuki Takise's avatar Kazuki Takise
Browse files

Disallow a new presentation to show on presenting display

canPresent() has a check to prevent multiple presentations on a
single display but this isn't working for a new presentation
because of the null check of |win| (|win| == null means a new
presentation as the window hasn't been created).

Removing this null check allows the existing logic to work for
new presentations too.

Flag: com.android.window.flags.enable_presentation_for_connected_displays
Bug: 418850221
Test: PresentationTest
Change-Id: I29ccb089aa057616138d039b3d62697a5ed63892
parent e1961f17
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