Improved mobile browser detection

This commit is contained in:
Steffen Schaefer committed 2015-07-28 16:57:26 +02:00
1 parent 6eadd8e3a9
commit 63898a7013
1 file changed
+1 -1
@@ -27,7 +27,7 @@ public class SwitchingEntryPoint implements EntryPoint {
private static Logger LOG = Logger.getLogger(SwitchingEntryPoint.class.getName());
private static final String SAPSAILING_MOBILE = "sapsailing_mobile";
private static final RegExp isMobileRegExp = RegExp.compile(
"Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini", "i");
"Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini|Mobile Safari", "i");
private final PlaceHistoryMapper hisMap = GWT.create(ApplicationHistoryMapper.class);
private final ApplicationPlaceUpdater placeUpdater = new ApplicationPlaceUpdater();