fun BrowserState.getNormalTrayTabs( inactiveTabsEnabled: Boolean, ): List<TabSessionState> { return normalTabs.run { if (inactiveTabsEnabled) { filter { it.isNormalTabActive(maxActiveTime) } } else { this } } }
The list of normal tabs in the tabs tray filtered appropriately based on feature flags.