'-------------------------------------------------------------------------------
' doSettings - This fix patches WebView so that LS webpage will load
' Without this routine the webpage just hangs
'-------------------------------------------------------------------------------
#IF JAVA
import android.webkit.WebView;
import android.webkit.WebSettings;
public void doSettings( WebView wv ) {
wv.getSettings().setCacheMode(WebSettings.LOAD_CACHE_ELSE_NETWORK);
wv.getSettings().setJavaScriptEnabled(true);
wv.getSettings().setDomStorageEnabled(true);
wv.clearClientCertPreferences( null );
wv.clearSslPreferences();
wv.clearHistory();
wv.getSettings().setDisplayZoomControls(false);
wv.getSettings().setBuiltInZoomControls(true);
wv.getSettings().setAllowFileAccess(true); // google turns this off by default as of api30
}
#End If