Skip to content

Commit

Permalink
use nullable paths for ReportCallback parameters (#23100)
Browse files Browse the repository at this point in the history
  • Loading branch information
yunhanw-google authored and pull[bot] committed Dec 5, 2022
1 parent 5d578a3 commit 02cc0df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 02cc0df

Please sign in to comment.