Skip to content

Commit

Permalink
SONARKT-569 Add support for WebViews to S4830
Browse files Browse the repository at this point in the history
  • Loading branch information
antonioaversa committed Feb 20, 2025
1 parent 7b3e10b commit 42d89ca
Show file tree
Hide file tree
Showing 10 changed files with 581 additions and 20 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package android.net.http;

public class SslCertificate {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package android.net.http;

public class SslError {
public SslCertificate getCertificate () {
return new SslCertificate();
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package android.os;

public class Handler {
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package android.webkit;

import android.os.Handler;

public class SslErrorHandler extends Handler {
public void cancel() {
}
public void proceed() {
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package android.webkit;

import android.net.http.SslError;

public class WebViewClient {
public void onReceivedSslError (WebView view, SslErrorHandler handler, SslError error) {
}
}
Loading

0 comments on commit 42d89ca

Please sign in to comment.