Only show at most one action chip in clipboard UI
Bug: 226579943 Fix: 226579943 Test: manual (tried copying phone number, verified that we now see only "Call" chip instead of "Call" and "Message") Change-Id: Ib2b36f1d57fa833c252cb404873e822192db9e42
This commit is contained in:
@@ -291,6 +291,7 @@ public class ClipboardOverlayController {
|
||||
OverlayActionChip chip = constructActionChip(action);
|
||||
mActionContainer.addView(chip);
|
||||
mActionChips.add(chip);
|
||||
break; // only show at most one action chip
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user