From 09f5773e81eaf0960251c143ed9aec9b2e548948 Mon Sep 17 00:00:00 2001 From: mar-v-in Date: Fri, 14 Aug 2015 16:54:21 +0200 Subject: [PATCH] Add Logging to LoginActivity --- .../main/java/org/microg/gms/auth/login/LoginActivity.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/play-services-core/src/main/java/org/microg/gms/auth/login/LoginActivity.java b/play-services-core/src/main/java/org/microg/gms/auth/login/LoginActivity.java index 0e53e0f9..62aef071 100644 --- a/play-services-core/src/main/java/org/microg/gms/auth/login/LoginActivity.java +++ b/play-services-core/src/main/java/org/microg/gms/auth/login/LoginActivity.java @@ -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"); + } + } }