Merge "Avoid drawing the contrast tile on empty text" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
9531c19ba3
@@ -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