| Auto-Submit | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
public void run(
View view, int tabId, @Nullable MotionEventInfo triggeringMotion) {
Token tabGroupId = tab.getTabGroupId();
if (tabGroupId == null) {
tabGroupId = model.get(TabProperties.TAB_GROUP_HEADER_ID);
}
if (tabGroupId != null) {
showTabGroupHeaderContextMenu(view, tabGroupId);
}
}TabListMediator ensures that this override is only called for a header. And `tabGroupId` should suffice for fetching the tab group token. You can simplify this to return if `tab.getTabGroupId()` is null.
Token tabGroupId = tab.getTabGroupId();
if (tabGroupId == null) {
tabGroupId = model.get(TabProperties.TAB_GROUP_HEADER_ID);
}
if (tabGroupId != null) {
showTabGroupHeaderContextMenu(view, tabGroupId);
}We don't support synced groups in VT. You can remove the logic and add comment like
`// Intentional no-op: Sync groups are not supported in Vertical Tabs.`
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |