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

Skip to content
Commit f69c3423 authored by Dave Mankoff's avatar Dave Mankoff
Browse files

New Dagger Compiler Validations

1) explicitBindingConflictsWithInject
  Ensures that a class marked with @Inject does not also have an
  @Provides elsewhere. The code had one case of this,
  `UnfoldLatencyTracker`, which has been moved into the subcomponent
  where it is used.

2) strictMultibindingValidation
  Ensures that parent components can't multibind things into their
  children (the opposite is allowable). We had one case where
  `UnfoldTraceLogger` was being multibound into the @SysUISingleton
  scope from the @Singleton scope.

Also split CoroutinesModule into GlobalCoroutinesModule and
SysUICoroutinesModule.
GlobalCoroutinesModule contains our @Application and @Main
related items that are common across the process.

SysUICoroutinesModule contains the @Background related items that are
specific to the SystemUI side of the process.

Flag: NA
Test: built and run
Fixes: 154740484
Change-Id: I0aef5464000d30b27097ddaed9548d128bedccf6
parent 4987500b
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