Skip to content

Commit

Permalink
restore android build
Browse files Browse the repository at this point in the history
  • Loading branch information
ened committed Apr 11, 2024
1 parent 467d310 commit 5d8740d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ import io.flutter.plugin.common.BinaryMessenger
import io.flutter.plugin.common.EventChannel
import io.flutter.plugin.common.MethodCall
import io.flutter.plugin.common.MethodChannel.Result
import io.flutter.plugin.common.PluginRegistry.ActivityResultListener
import io.reactivex.Single
import io.reactivex.android.schedulers.AndroidSchedulers
import java.util.UUID
import com.signify.hue.flutterreactiveble.ProtobufModel as pb

@Suppress("TooManyFunctions")
class PluginController {
class PluginController : ActivityResultListener {
private val pluginMethods =
mapOf<String, (call: MethodCall, result: Result) -> Unit>(
"initialize" to this::initializeClient,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ class CompanionHandler {
}

override fun onFailure(error: CharSequence?) {
Log.e(TAG, "onFailure: $error")
result.error("CompanionHandler", error.toString(), null)
}
},
Expand Down

0 comments on commit 5d8740d

Please sign in to comment.