show an alert dialog which describes the workaround for the Google login
(see #497)
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user