@Override
protected String[] getModules(FacesContext facesContext, UIComponent uiComponent) {
List<String> modules = new ArrayList<String>();
String[] oldModules = super.getModules(facesContext, uiComponent);
BrowserSnifferFactory browserSnifferFactory = (BrowserSnifferFactory) FactoryExtensionFinder.getFactory(
BrowserSnifferFactory.class);
BrowserSniffer browserSniffer = browserSnifferFactory.getBrowserSniffer(facesContext.getExternalContext());
InputTime inputTime = (InputTime) uiComponent;
boolean responsive = inputTime.isResponsive();
if (browserSniffer.isMobile() && responsive) {
String nativeAlloyModuleName = oldModules[0].concat("-native");