do not overwrite login boolean in updateCaching

This commit is contained in:
Philipp Schaefer 2013-10-21 16:48:52 +02:00
parent c25b6dc1c8
commit 8242901ed7

View File

@ -168,7 +168,7 @@ public class IITC_WebView extends WebView {
break; break;
default: default:
if (getUrl() != null) { if (getUrl() != null) {
login = getUrl().contains("accounts.google.com"); login |= getUrl().contains("accounts.google.com");
} }
// use cache if on mobile network...saves traffic // use cache if on mobile network...saves traffic
if (!isConnectedToWifi() && !login) { if (!isConnectedToWifi() && !login) {