mirror of
https://github.com/YTVanced/VancedMicroG
synced 2024-11-24 04:05:13 +00:00
Add Logging to LoginActivity
This commit is contained in:
parent
bd69c16c62
commit
09f5773e81
1 changed files with 7 additions and 0 deletions
|
@ -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");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue