[RESTRICT AUTOMERGE] Messaging child requestLayout
MessagingLinearLayout is using hide parameter to decide children visibility in onMeasure, assuming that they are always measured.
measureChildren methods call measure method of View and if there is existing measured dimensions, it reuses them by passing onMeasure.
This cause MessagingLinearLayout not to update its children hide property correctly and cause corrupted MessagingLinearLayout.
Bug: 324537506
Test: SystemUITests & Post Conversation Group with short actions and trigger 4 times orientation change. Conversation Group should look correct and there shouldnt be any content cut off
Flag: ACONFIG messaging_child_request_layout DEVELOPMENT
(cherry picked from commit fc64eee940e769b0547392219c870d44b0c21b55)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:bc0a44df7f45abdb9dd39b877f4c9574c33f5500)
Merged-In: I53705d614efcb73fefc5a90c09e189b8aa0fa172
Change-Id: I53705d614efcb73fefc5a90c09e189b8aa0fa172
1 file changed