Skip to content

Commit 8340394

Browse files
Update DeviceProvider.kt
1 parent e5cf884 commit 8340394

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

  • src/main/kotlin/com/github/grishberg/android/layoutinspector/process/providers

src/main/kotlin/com/github/grishberg/android/layoutinspector/process/providers/DeviceProvider.kt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
package com.github.grishberg.android.layoutinspector.process.providers
22

33
import com.android.ddmlib.IDevice
4+
import com.android.layoutinspector.common.AppLogger
5+
46

57
interface DeviceProvider {
8+
val deviceChangedActions: MutableSet<DeviceChangedAction>
9+
val isReconnectionAllowed: Boolean
10+
611
fun stop()
712
fun reconnect()
13+
fun attachLogger(newLogger: AppLogger) {}
814
suspend fun requestDevices(): List<IDevice>
9-
val deviceChangedActions: MutableSet<DeviceChangedAction>
10-
val isReconnectionAllowed: Boolean
1115

1216
interface DeviceChangedAction {
1317
fun deviceConnected(device: IDevice)

0 commit comments

Comments
 (0)