Search in sources :

Example 1 with HardwareServiceImpl

use of cx.ring.services.HardwareServiceImpl in project ring-client-android by savoirfairelinux.

the class ServiceInjectionModule method provideHardwareService.

@Provides
@Singleton
HardwareService provideHardwareService(Context context) {
    HardwareServiceImpl hardwareService = new HardwareServiceImpl(context);
    mRingApplication.getRingInjectionComponent().inject(hardwareService);
    return hardwareService;
}
Also used : HardwareServiceImpl(cx.ring.services.HardwareServiceImpl) Singleton(javax.inject.Singleton) Provides(dagger.Provides)

Aggregations

HardwareServiceImpl (cx.ring.services.HardwareServiceImpl)1 Provides (dagger.Provides)1 Singleton (javax.inject.Singleton)1