commit | 4ff68edea913f74c732dba6f00ce6fff4e914237 | [log] [tgz] |
---|---|---|
author | Ana Salazar Maldonado <anasalazar@google.com> | Wed Feb 12 11:03:41 2025 -0800 |
committer | Ana Salazar Maldonado <anasalazar@google.com> | Wed Feb 12 14:31:01 2025 -0800 |
tree | 7cc3081febacd951bd2a71ce39de85034632ea85 | |
parent | 4425ab30621e423335f11be7276aa39b8a2309e6 [diff] |
Fix contrast tile measurement calculation for folders When creating a folder, the element name begins empty. Because of this, while layout is happening, the paddings for the text and the bubble are not considered. Fix the condition within onMeasure to add the respective paddings when the bubble could be drawn. Bug: 341217082 Flag: com.android.launcher3.enable_contrast_tiles Test: Manual, visual change Change-Id: Ie707102fa3d4827568a9db247ea5ebf5f8e1ae0d