don't show survey link yet: it's not ready

This commit is contained in:
Eric House 2014-08-27 07:06:29 -07:00
parent 8407d3b300
commit 78581490eb

View file

@ -55,16 +55,16 @@ public class FirstRunDialog {
}
return result;
}
@Override
public void onPageFinished(WebView view, String url)
{
if ( !m_loaded ) {
m_loaded = true;
if ( showSurvey ) {
view.loadUrl( "javascript:showSurvey();" );
}
}
}
// @Override
// public void onPageFinished(WebView view, String url)
// {
// if ( !m_loaded ) {
// m_loaded = true;
// if ( showSurvey ) {
// view.loadUrl( "javascript:showSurvey();" );
// }
// }
// }
});
view.getSettings().setJavaScriptEnabled( true ); // for surveymonkey
view.loadUrl("file:///android_asset/changes.html");