src/vs/workbench/browser/parts/compositeBar.ts/CompositeBar/toggleBadgeEnablement
class CompositeBar:	toggleBadgeEnablement(compositeId: string): void {
		if (this.model.setBadgeEnablement(compositeId, !this.areBadgesEnabled(compositeId))) {
			this.updateCompositeSwitcher();
			const item = this.model.findItem(compositeId);
			if (item) {
				// TODO @lramos15 how do we tell the activity to re-render the badge? This triggers an onDidChange but isn't the right way to do it.
				// I could add another specific function like `activity.updateBadgeEnablement` would then the activity store the sate?
				item.activityAction.setBadge(item.activityAction.getBadge(), item.activityAction.getClass());
			}
		}
	}