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

Skip to content
Commit 80c14a30 authored by Caitlin Shkuratov's avatar Caitlin Shkuratov
Browse files

[CS] Add NoopDeviceEntryFaceAuthRepository.

This is a precursor to ag/23672734, which makes
NotificationStackScrollLayoutController (NSSLC) a singleton.

NSSLC has DeviceEntryFaceAuthRepository as a transitive dependency
(NSSLC injects Optional<NotificationListVM>, which injects
NotificationShelfVM, which injects NotificationShelfInteractor, which
injects DeviceEntryFaceAuthRepository).

Previously, NotificationStackScrollLayoutController and its dependencies
were part of CentralSurfacesComponent, which was only created by
CentralSurfacesImpl which already had DeviceEntryFaceAuthRepository.
Making NSSLC a singleton requires moving those dependencies into
NotificationsModule, which is included in more than just
CentralSurfacesImpl -- specifically, the ARC project.

ARC currently doesn't provide any implementation of
DeviceEntryFaceAuthRepository. By adding this no-op implementation, ARC
can provide that dependency (ARC already includes the
KeyguardFaceAuthNotSupportedModule).

Bug: 277762009
Test: compiles
Change-Id: I68f9db9ed27c99109cab55a66fa3d9d3b7bb27c2
parent 6f4622fd
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