reload after plugin with the reload-method to stay consistent with the action bar
This commit is contained in:
parent
ebfa030c3d
commit
f8cd22f162
@ -369,6 +369,8 @@ public class IITC_Mobile extends Activity {
|
||||
actionBar.setTitle(getString(R.string.app_name));
|
||||
backStack.clear();
|
||||
setActionBarHomeEnabledWithUp(false);
|
||||
// iitc starts on map after reload
|
||||
currentPane = android.R.id.home;
|
||||
this.loadUrl(intel_url);
|
||||
return true;
|
||||
case R.id.toggle_fullscreen:
|
||||
|
@ -147,9 +147,9 @@ public class IITC_WebViewClient extends WebViewClient {
|
||||
@Override
|
||||
public void onPageFinished(WebView view, String url) {
|
||||
if (url.contains("accounts.google.com")) {
|
||||
Log.d("iitcm", "reload after login");
|
||||
Log.d("iitcm", "reload after login/logout");
|
||||
IITC_Mobile main_activity = ((IITC_Mobile) context);
|
||||
main_activity.loadUrl(main_activity.intel_url);
|
||||
main_activity.handleMenuItemSelected(R.id.reload_button);
|
||||
return;
|
||||
}
|
||||
super.onPageFinished(view, url);
|
||||
|
Loading…
x
Reference in New Issue
Block a user