From 765b102bcdd8c6aa3fcabdfd3a962582c4e26c7f Mon Sep 17 00:00:00 2001 From: Ming Ming Date: Thu, 7 Sep 2023 00:27:46 +0800 Subject: [PATCH] Fix error not handled in message_relay (android) --- .../np_platform_message_relay/MessageRelayChannelHandler.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/np_platform_message_relay/android/src/main/kotlin/com/nkming/nc_photos/np_platform_message_relay/MessageRelayChannelHandler.kt b/np_platform_message_relay/android/src/main/kotlin/com/nkming/nc_photos/np_platform_message_relay/MessageRelayChannelHandler.kt index 1caaed61..d804eeff 100644 --- a/np_platform_message_relay/android/src/main/kotlin/com/nkming/nc_photos/np_platform_message_relay/MessageRelayChannelHandler.kt +++ b/np_platform_message_relay/android/src/main/kotlin/com/nkming/nc_photos/np_platform_message_relay/MessageRelayChannelHandler.kt @@ -25,6 +25,10 @@ internal class MessageRelayChannelHandler : MethodChannel.MethodCallHandler, result.error("systemException", e.toString(), null) } } + + else -> { + result.notImplemented() + } } }