Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/ShadeViewDiffer.kt +1 −1 Original line number Diff line number Diff line Loading @@ -123,7 +123,7 @@ class ShadeViewDiffer( when (childNode.parent) { null -> { // A new child (either newly created or coming from some other parent) logger.logAttachingChild(childNode.label, parentNode.label) logger.logAttachingChild(childNode.label, parentNode.label, index) parentNode.addChildAt(childNode, index) childNode.parent = parentNode } Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/ShadeViewDifferLogger.kt +3 −2 Original line number Diff line number Diff line Loading @@ -43,12 +43,13 @@ class ShadeViewDifferLogger @Inject constructor( }) } fun logAttachingChild(key: String, parent: String) { fun logAttachingChild(key: String, parent: String, atIndex: Int) { buffer.log(TAG, LogLevel.DEBUG, { str1 = key str2 = parent int1 = atIndex }, { "Attaching view $str1 to $str2" "Attaching view $str1 to $str2 at index $int1" }) } Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/ShadeViewDiffer.kt +1 −1 Original line number Diff line number Diff line Loading @@ -123,7 +123,7 @@ class ShadeViewDiffer( when (childNode.parent) { null -> { // A new child (either newly created or coming from some other parent) logger.logAttachingChild(childNode.label, parentNode.label) logger.logAttachingChild(childNode.label, parentNode.label, index) parentNode.addChildAt(childNode, index) childNode.parent = parentNode } Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/ShadeViewDifferLogger.kt +3 −2 Original line number Diff line number Diff line Loading @@ -43,12 +43,13 @@ class ShadeViewDifferLogger @Inject constructor( }) } fun logAttachingChild(key: String, parent: String) { fun logAttachingChild(key: String, parent: String, atIndex: Int) { buffer.log(TAG, LogLevel.DEBUG, { str1 = key str2 = parent int1 = atIndex }, { "Attaching view $str1 to $str2" "Attaching view $str1 to $str2 at index $int1" }) } Loading