remove unused code
This commit is contained in:
parent
57d42431cc
commit
5a88283344
2 changed files with 0 additions and 8 deletions
|
@ -72,11 +72,4 @@ class WearUtil @Inject constructor() {
|
|||
// we simply ignore if sleep was interrupted
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Taken out to helper method to allow testing
|
||||
*/
|
||||
fun bundleToDataMap(bundle: Bundle?): DataMap {
|
||||
return DataMap.fromBundle(bundle)
|
||||
}
|
||||
}
|
|
@ -25,7 +25,6 @@ class WearUtilMocker(private val wearUtil: WearUtil) {
|
|||
resetClock()
|
||||
Mockito.doAnswer { invocation: InvocationOnMock? -> REF_NOW + clockMsDiff }.`when`(wearUtil).timestamp()
|
||||
Mockito.doReturn(null).`when`(wearUtil).getWakeLock(ArgumentMatchers.anyString(), ArgumentMatchers.anyInt())
|
||||
Mockito.doAnswer(bundleToDataMapMock).`when`(wearUtil).bundleToDataMap(ArgumentMatchers.any())
|
||||
}
|
||||
|
||||
fun resetClock() {
|
||||
|
|
Loading…
Reference in a new issue