From e0821add2bc8a19c0375b3adbd6173096c5cffbb Mon Sep 17 00:00:00 2001 From: yunhanw-google Date: Wed, 12 Oct 2022 09:29:30 -0700 Subject: [PATCH] use nullable paths for ReportCallback parameters (#23100) --- .../com/google/chip/chiptool/clusterclient/WildcardFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/WildcardFragment.kt b/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/WildcardFragment.kt index dd2f366e28f469..a0db80097b12b5 100644 --- a/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/WildcardFragment.kt +++ b/examples/android/CHIPTool/app/src/main/java/com/google/chip/chiptool/clusterclient/WildcardFragment.kt @@ -44,7 +44,7 @@ class WildcardFragment : Fragment() { private lateinit var addressUpdateFragment: AddressUpdateFragment private val reportCallback = object : ReportCallback { - override fun onError(attributePath: ChipAttributePath, eventPath: ChipEventPath, ex: Exception) { + override fun onError(attributePath: ChipAttributePath?, eventPath: ChipEventPath?, ex: Exception) { if (attributePath != null) { Log.e(TAG, "Report error for $attributePath: $ex")