Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2017-01-06 11:06:34 +01:00
commit f7a691c6a2
2 changed files with 4 additions and 4 deletions

View file

@ -369,7 +369,6 @@ public class POIMapLayer extends OsmandMapLayer implements ContextMenuLayer.ICon
settings.setBuiltInZoomControls(true); settings.setBuiltInZoomControls(true);
settings.setDisplayZoomControls(false); settings.setDisplayZoomControls(false);
settings.setSupportZoom(true); settings.setSupportZoom(true);
wv.setLayerType(WebView.LAYER_TYPE_SOFTWARE, null);
wv.loadDataWithBaseURL(null, content, "text/html", "UTF-8", null); wv.loadDataWithBaseURL(null, content, "text/html", "UTF-8", null);
// wv.loadUrl(OsMoService.SIGN_IN_URL + app.getSettings().OSMO_DEVICE_KEY.get()); // wv.loadUrl(OsMoService.SIGN_IN_URL + app.getSettings().OSMO_DEVICE_KEY.get());
@ -395,7 +394,8 @@ public class POIMapLayer extends OsmandMapLayer implements ContextMenuLayer.ICon
} }
break; break;
} }
return false; //return false;
return super.onTouchEvent(event);
} }
}); });

View file

@ -105,7 +105,6 @@ public class ContextMenuHelper {
settings.setBuiltInZoomControls(true); settings.setBuiltInZoomControls(true);
settings.setDisplayZoomControls(false); settings.setDisplayZoomControls(false);
settings.setSupportZoom(true); settings.setSupportZoom(true);
wv.setLayerType(WebView.LAYER_TYPE_SOFTWARE, null);
wv.loadDataWithBaseURL(null, content, "text/html", "UTF-8", null); wv.loadDataWithBaseURL(null, content, "text/html", "UTF-8", null);
// wv.loadUrl(OsMoService.SIGN_IN_URL + app.getSettings().OSMO_DEVICE_KEY.get()); // wv.loadUrl(OsMoService.SIGN_IN_URL + app.getSettings().OSMO_DEVICE_KEY.get());
@ -131,7 +130,8 @@ public class ContextMenuHelper {
} }
break; break;
} }
return false; //return false;
return super.onTouchEvent(event);
} }
}); });