show an alert dialog which describes the workaround for the Google login

(see #497)
This commit is contained in:
Philipp Schaefer
2013-08-29 18:50:26 +02:00
parent 0cf9cef36e
commit 38dce23c17
3 changed files with 67 additions and 12 deletions

View File

@ -456,12 +456,7 @@ public class IITC_Mobile extends Activity {
mIitcWebView.loadUrl("javascript: window.show('map');");
return true;
case R.id.reload_button:
mActionBar.setTitle(getString(R.string.app_name));
mBackStack.clear();
setActionBarHomeEnabledWithUp(false);
// iitc starts on map after reload
mCurrentPane = android.R.id.home;
this.loadUrl(mIntelUrl);
reloadIITC();
return true;
case R.id.toggle_fullscreen:
toggleFullscreen();
@ -518,6 +513,15 @@ public class IITC_Mobile extends Activity {
}
}
public void reloadIITC() {
mActionBar.setTitle(getString(R.string.app_name));
mBackStack.clear();
setActionBarHomeEnabledWithUp(false);
// iitc starts on map after reload
mCurrentPane = android.R.id.home;
this.loadUrl(mIntelUrl);
}
private void loadIITC() {
try {
mIitcWebView.getWebViewClient().loadIITC_JS(this);