mirror of
https://github.com/TeamVanced/VancedMicroG
synced 2024-12-22 18:47:46 +01:00
Add Logging to LoginActivity
This commit is contained in:
parent
bd69c16c62
commit
09f5773e81
@ -93,6 +93,7 @@ public class LoginActivity extends AssistantActivity {
|
|||||||
webView.setWebViewClient(new WebViewClient() {
|
webView.setWebViewClient(new WebViewClient() {
|
||||||
@Override
|
@Override
|
||||||
public void onPageFinished(WebView view, String url) {
|
public void onPageFinished(WebView view, String url) {
|
||||||
|
Log.d(TAG, "pageFinished: "+url);
|
||||||
if ("close".equals(Uri.parse(url).getFragment()))
|
if ("close".equals(Uri.parse(url).getFragment()))
|
||||||
closeWeb();
|
closeWeb();
|
||||||
}
|
}
|
||||||
@ -398,5 +399,11 @@ public class LoginActivity extends AssistantActivity {
|
|||||||
Log.d(TAG, "JSBridge: skipLogin");
|
Log.d(TAG, "JSBridge: skipLogin");
|
||||||
finish();
|
finish();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@JavascriptInterface
|
||||||
|
public final void startAfw() {
|
||||||
|
Log.d(TAG, "JSBridge: startAfw");
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user