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

Commit ebbcfc14 authored by Nicolo' Mazzucato's avatar Nicolo' Mazzucato
Browse files

Open screen recording dialog using statusbar context

As the screen recording dialog needs to be visible also while the shade is collapsed, it is now using the statusbar context (falling back to the shade context only when the statusbar is not available).

The main issue here was that if the screen recording is started while on the lockscreen, the dialog creation was postponed until after unlocking, and the shade was hidden by then. As the dialog was a child of the shade window, it was hidden too.

Bug: 362719719
Bug: 419577795
Test: ScreenRecordPermissionDialogDelegateTest
Flag: com.android.systemui.shade_window_goes_around
Change-Id: Iee65f9cb44c9c8267e79a86925eccacfc8331cbb
parent c92c6491
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