Add Logging to LoginActivity

This commit is contained in:
mar-v-in 2015-08-14 16:54:21 +02:00
parent bd69c16c62
commit 09f5773e81

View File

@ -93,6 +93,7 @@ public class LoginActivity extends AssistantActivity {
webView.setWebViewClient(new WebViewClient() {
@Override
public void onPageFinished(WebView view, String url) {
Log.d(TAG, "pageFinished: "+url);
if ("close".equals(Uri.parse(url).getFragment()))
closeWeb();
}
@ -398,5 +399,11 @@ public class LoginActivity extends AssistantActivity {
Log.d(TAG, "JSBridge: skipLogin");
finish();
}
@JavascriptInterface
public final void startAfw() {
Log.d(TAG, "JSBridge: startAfw");
}
}
}