Avoid drawing the contrast tile on empty text
Bug: 381062398 Flag: com.android.launcher3.enable_contrast_tiles Test: Manual, visual change Change-Id: Ic3199d6263ac3adfd7c270de14439b0095afed1c
This commit is contained in:
1 parent
322b831d1d
commit
2161355885
1 file changed
+1
-1
@@ -980,7 +980,7 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver,
|
||||
public boolean shouldDrawAppContrastTile() {
|
||||
return mDisplay == DISPLAY_WORKSPACE && shouldTextBeVisible()
|
||||
&& PillColorProvider.getInstance(getContext()).isMatchaEnabled()
|
||||
&& enableContrastTiles();
|
||||
&& enableContrastTiles() && TextUtils.isEmpty(getText());
|
||||
}
|
||||
|
||||
public void setTextVisibility(boolean visible) {
|
||||
|
||||
Reference in new issue
Block a user