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

Commit af0f977c authored by Dave Mankoff's avatar Dave Mankoff
Browse files

Don't bind nullables into non-nullable values.

This fixes errors that occur with the upgraded dagger version.

Bug: 383569207
Test: built system image
Flag: EXEMPT minor refactor
Change-Id: I4bbb0927bc06f920696aeb3329af5754602a5f92
Merged-In: Ibafb7f1be32ec8ea2b4a6b221cbf520ac737b688
parent b767ec7c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -27,5 +27,5 @@ interface FalsingStartModule {
    @Binds
    @IntoMap
    @ClassKey(FalsingCoreStartable::class)
    fun bindFalsingCoreStartable(falsingCoreStartable: FalsingCoreStartable?): CoreStartable?
    fun bindFalsingCoreStartable(falsingCoreStartable: FalsingCoreStartable): CoreStartable
}
+2 −2
Original line number Diff line number Diff line
@@ -65,8 +65,8 @@ abstract class SmartspaceModule {
    @Binds
    @Named(LOCKSCREEN_SMARTSPACE_PRECONDITION)
    abstract fun bindSmartspacePrecondition(
        lockscreenPrecondition: LockscreenPrecondition?
    ): SmartspacePrecondition?
        lockscreenPrecondition: LockscreenPrecondition
    ): SmartspacePrecondition

    @BindsOptionalOf
    @Named(GLANCEABLE_HUB_SMARTSPACE_DATA_PLUGIN)
+1 −1
Original line number Diff line number Diff line
@@ -22,5 +22,5 @@ import dagger.Module

@Module
interface EventLogModule {
    @SysUISingleton @Binds fun bindEventLog(eventLogImpl: EventLogImpl?): EventLog?
    @SysUISingleton @Binds fun bindEventLog(eventLogImpl: EventLogImpl): EventLog
}