moved login caching mode setting to webviewclient
This commit is contained in:
parent
4b0ff58a7b
commit
eeb24315fb
@ -572,8 +572,6 @@ public class IITC_Mobile extends Activity {
|
|||||||
*/
|
*/
|
||||||
public void onReceivedLoginRequest(IITC_WebViewClient client, WebView view,
|
public void onReceivedLoginRequest(IITC_WebViewClient client, WebView view,
|
||||||
String realm, String account, String args) {
|
String realm, String account, String args) {
|
||||||
Log.d("iitcm", "logging in...set caching mode to default");
|
|
||||||
mIitcWebView.getSettings().setCacheMode(WebSettings.LOAD_DEFAULT);
|
|
||||||
mLogin = new IITC_DeviceAccountLogin(this, view, client);
|
mLogin = new IITC_DeviceAccountLogin(this, view, client);
|
||||||
mLogin.startLogin(realm, account, args);
|
mLogin.startLogin(realm, account, args);
|
||||||
}
|
}
|
||||||
|
@ -161,6 +161,8 @@ public class IITC_WebViewClient extends WebViewClient {
|
|||||||
@Override
|
@Override
|
||||||
public void onReceivedLoginRequest(WebView view, String realm, String account, String args) {
|
public void onReceivedLoginRequest(WebView view, String realm, String account, String args) {
|
||||||
Log.d("iitcm", "Login requested: " + realm + " " + account + " " + args);
|
Log.d("iitcm", "Login requested: " + realm + " " + account + " " + args);
|
||||||
|
Log.d("iitcm", "logging in...set caching mode to default");
|
||||||
|
view.getSettings().setCacheMode(WebSettings.LOAD_DEFAULT);
|
||||||
//((IITC_Mobile) mContext).onReceivedLoginRequest(this, view, realm, account, args);
|
//((IITC_Mobile) mContext).onReceivedLoginRequest(this, view, realm, account, args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user