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

Skip to content
Commit 55f32a1f authored by Bryce Lee's avatar Bryce Lee
Browse files

Block background dream launch during widget launch and occlusion.

This changelist restricts restarting dreams behind the glanceable hub
if a widget is launching an activity. It also uses the keyguard
occlusion signal from keyguard interactor as another restriction, as
this value is often more current than the KeyguardState.

Test: atest CommunalDreamStartableTest#shouldNotStartDreamWhenLaunchingWidget
Test: atest CommunalDreamStartableTest#shouldNotStartDreamWhenOccluded
Fixes: 364522347
Flag: EXEMPT bugfix
Change-Id: I18ca19f424214191d61fdcfd170314bb351d3732
parent 36a651cb
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