Fix shape and grid content height

If the app is paused and started again, we can possibly call bind and
trigger the listener of on layout again, with the layout component give
the height of 0.

We avoid updating the height of 0 to fix the issue.

Test: Manually tested the issue no longer exists
Fixes: 376107964
Flag: com.android.systemui.shared.new_customization_picker_ui
Change-Id: I9c70598a0b2a7dbc481dfdd33abb99af19fa8f65
1 file changed