Skip to content

Commit

Permalink
Add controller toString
Browse files Browse the repository at this point in the history
  • Loading branch information
max-kammerer committed Feb 6, 2024
1 parent 8dad873 commit 244ea4b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -370,4 +370,8 @@ class Controller(
val height = dm.heightPixels
return DeviceInfo(am.memoryClass, width, height, Build.VERSION.SDK_INT >= Build.VERSION_CODES.N_MR1)
}

override fun toString(): String {
return "Controller for $document (controller identity hashCode=${System.identityHashCode(this)}})"
}
}

0 comments on commit 244ea4b

Please sign in to comment.