diff options
| author | 2023-06-28 12:46:24 -0400 | |
|---|---|---|
| committer | 2023-07-11 19:14:25 +0000 | |
| commit | f82b10e983dd9528016f3d14bc8b0f195ffa186d (patch) | |
| tree | a6bb83c8502307383ae368068d51ce3b23630e22 /libs/androidfw/misc.cpp | |
| parent | b72062c607cbe2b8b4a1380d78934b8c08ecc3ec (diff) | |
Inject NPVC into ShadeControllerImpl
Now that NPVC is a singleton, it can be injected into SC instead
of being passed in by CentralSurfaces. Since NPVC must be injected
lazily into SC to avoid updating most classes that inject SC,
the NPVC setup code in SC must be moved to a CoreStartable. This
causes some Dagger issues for TV that required additional changes.
This change also creates an empty impl of SC to be used by Android
variants that don't have a shade, allowing us to make changes to
the SC interface without a Gerrit topic.
Fixes: 237661616
Fixes: 288867586
Test: manual, atest, and presubmits
Change-Id: Ia58178b37f3179ff10ac7476f78394e7874e790b
Merged-In: Ia58178b37f3179ff10ac7476f78394e7874e790b
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions