Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,28 +40,6 @@ public LoggingWebChromeClient(WebView webView) {
this.webView = webView;
}
Comment on lines 40 to 41
Copy link

Copilot AI Apr 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After removing the onCreateWindow(..., Message resultMsg) override, the android.os.Message import becomes unused (and the PR description mentions it should be removed). Please delete that import so the file stays clean and matches the PR description.

Copilot uses AI. Check for mistakes.

@CallSuper
@Override
public void onCloseWindow(WebView window) {
super.onCloseWindow(window);
if (DEBUG) Log.d(TAG, "onCloseWindow");
}

@CallSuper
@Override
public boolean onCreateWindow(WebView view, boolean isDialog, boolean isUserGesture, Message resultMsg) {
if (DEBUG)
Log.d(TAG, "onCreateWindow" + (isDialog ? " isDialog" : "") + (isUserGesture ? " isUserGesture" : ""));
return super.onCreateWindow(view, isDialog, isUserGesture, resultMsg);
}

@CallSuper
@Override
public boolean onJsTimeout() {
if (DEBUG) Log.d(TAG, "onJsTimeout");
return super.onJsTimeout();
}

@Override
public void onShowCustomView(View view, CustomViewCallback callback) {
// if a view already exists then immediately terminate the new one
Expand Down
Loading