Search in sources :

Example 1 with DeviceRuntimeServiceImpl

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

the class ServiceInjectionModule method provideDeviceRuntimeService.

@Provides
@Singleton
DeviceRuntimeService provideDeviceRuntimeService(LogService logService) {
    DeviceRuntimeServiceImpl runtimeService = new DeviceRuntimeServiceImpl();
    mRingApplication.getRingInjectionComponent().inject(runtimeService);
    runtimeService.loadNativeLibrary();
    return runtimeService;
}
Also used : DeviceRuntimeServiceImpl(cx.ring.services.DeviceRuntimeServiceImpl) Singleton(javax.inject.Singleton) Provides(dagger.Provides)

Aggregations

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