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

Skip to content
Commit c0fd24c0 authored by Nick Chameyev's avatar Nick Chameyev
Browse files

Include SysUIUnfoldComponent only in phone SystemUI

Change Dagger depepdencies structure to add
SysUIUnfoldComponent subcomponent only
in phone SystemUI modules.

- SystemUIModule is included in all variants of
  SystemUI (e.g. for TV/Chromium/tablets/etc.)
- CommonSystemUIUnfoldModule binds optional of
  Optional<SysUIUnfoldComponent>, so this dependency
  will be present only if the component of this specific
  variant has this dependency.
- CommonSystemUIUnfoldModule is part of SystemUIModule,
  so it is also added in all variants of SystemUI.
  It doesn't actually contain the dependency, it's just
  a proxy module to unwrap optional dependency
  from SysUIUnfoldComponent
- SysUIUnfoldComponent is provided by SysUIUnfoldModule,
  SysUIUnfoldModule is only added in the variants where
  unfold classes might be useful (e.g. phone variant
  of SystemUI), so this dependency will be present
  only in these variants of SystemUI

Bug: 334100546
Test: presubmit
Flag: EXEMPT bugfix
Change-Id: I2e1eaee81c68dcb8cc0be6e3d6696495100691a6
parent dc295013
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