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

Commit 25af1134 authored by Nicolo' Mazzucato's avatar Nicolo' Mazzucato
Browse files

Provide empty ShadeDisplaysInteractor impl for sysui variants without shade window

This splits ShadeDisplaysInteractor into an interface.

This change facilitates providing a no-op implementation of
`ShadeDisplaysInteractor` for Android variants that do not have
a movable shade window, such as Wear OS or Android TV.

A new Dagger module, `ShadeDisplayAwareWindowWithoutShadeModule`,
is introduced to bind this no-op implementation. This allows
modules that depend on `ShadeDisplaysInteractor` (e.g., classes
within `SceneContainerFrameworkModule`) to function correctly on
these platforms without requiring the full shade window infrastructure.

The Wear component has been updated to include this module.

Bug: 362719719
Bug: 417921986
Test: builds in presubmits + manual tests on systemui google
Flag: com.android.systemui.shade_window_goes_around
Change-Id: I1f40de4b3b9e27c183b53e4ccb23be38027789fd
parent 5f309592
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