package Ġcom . line corp . android . di . module Ċ Ċ import Ġandroid . content . Clipboard Manager Ċ import Ġandroid . content . Context Ċ import Ġcom . line corp . android . LINE App Ċ import Ġcom . line corp . android . di . qual ifier . Scheduler Computation Thread Ċ import Ġcom . line corp . android . di . qual ifier . Scheduler Io Thread Ċ import Ġcom . line corp . android . di . qual ifier . Scheduler MainThread Ċ import Ġcom . line corp . android . di . qual ifier . Scheduler New Thread Ċ import Ġdagger . Module Ċ import Ġio . reactivex . schedul ers . Schedulers Ċ import Ġio . reactivex . Scheduler Ċ import Ġdagger . Provides Ċ import Ġjavax . inject . Singleton Ċ import Ġio . reactivex . android . schedul ers . Android Schedulers Ċ Ċ @ Module Ċ object ĠScheduler Module Ġ{ ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġfun Ġprovide Clipboard Manager ( context : ĠContext ): ĠClip board Manager Ġ= ĊĠĠĠĠĠĠĠ Ġcontext . application Context . getSystem Service ( Context . CLIP BOARD _ SERVICE ) Ġas ĠClip board Manager ĊĊĠĠĠ Ġ@ Singleton ĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġfun Ġprovide Context (): ĠContext Ġ= ĠLINE App . getContext () ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ Singleton ĊĠĠĠ Ġ@ Scheduler Computation Thread ĊĠĠĠ Ġfun Ġprovide Computation Scheduler (): ĠScheduler Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠS chedulers . computation () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ Scheduler Io Thread ĊĠĠĠ Ġ@ Singleton ĊĠĠĠ Ġfun Ġprovide Io Scheduler (): ĠScheduler Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠS chedulers . io () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ Singleton ĊĠĠĠ Ġ@ Scheduler MainThread ĊĠĠĠ Ġfun Ġprovide MainThread Scheduler (): ĠScheduler Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠAndroid Schedulers . main Thread () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ Singleton ĊĠĠĠ Ġ@ Scheduler Computation Thread ĊĠĠĠ Ġfun Ġprovide Tr amp oline Thread Scheduler (): ĠScheduler Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠS chedulers . tr amp oline () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Provides ĊĠĠĠ Ġ@ Singleton ĊĠĠĠ Ġ@ Scheduler New Thread ĊĠĠĠ Ġfun Ġprovide New Thread Scheduler (): ĠScheduler Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠS chedulers . new Thread () ĊĠĠĠ Ġ} Ċ }