mask proper SDK level
This commit is contained in:
parent
7b34cc1379
commit
cd54096303
1 changed files with 3 additions and 1 deletions
|
@ -369,7 +369,9 @@ public class POIMapLayer extends OsmandMapLayer implements ContextMenuLayer.ICon
|
|||
settings.setBuiltInZoomControls(true);
|
||||
settings.setDisplayZoomControls(false);
|
||||
settings.setSupportZoom(true);
|
||||
settings.setTextZoom((int) (ctx.getResources().getDisplayMetrics().density * 100f));
|
||||
if (android.os.Build.VERSION.SDK_INT >= 14) {
|
||||
settings.setTextZoom((int) (ctx.getResources().getDisplayMetrics().density * 100f));
|
||||
}
|
||||
|
||||
wv.loadDataWithBaseURL(null, content, "text/html", "UTF-8", null);
|
||||
// wv.loadUrl(OsMoService.SIGN_IN_URL + app.getSettings().OSMO_DEVICE_KEY.get());
|
||||
|
|
Loading…
Reference in a new issue