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

Skip to content
Commit 543f6f56 authored by Michal Brzezinski's avatar Michal Brzezinski
Browse files

Close shade when opening MediaProjectionAppSelectorActivity

When shade is open and media projection dialog starts MediaProjectionAppSelectorActivity it will be below shade and not visible.
We want to close it when that happens.

Using StatusBarManager because using standard SysUI components (like ShadeController) would not work in secondary SysUI process when using another user (see b/298099682 for more info)..

Fixes: 285291564
Test: MediaProjectionPermissionTest#startSingleTask_shadeWasOpen_closesShade
Change-Id: I4c71d58c6c0cb8eb2a670b7059be48169254f354
parent 848b83a3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment