-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restore public visibility of classes containing swazzled code
- Loading branch information
1 parent
69faac8
commit dfea178
Showing
4 changed files
with
23 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 6 additions & 4 deletions
10
...e-android-sdk/src/main/java/io/embrace/android/embracesdk/WebViewClientSwazzledHooks.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,22 @@ | ||
package io.embrace.android.embracesdk; | ||
|
||
import androidx.annotation.Nullable; | ||
|
||
import io.embrace.android.embracesdk.annotation.InternalApi; | ||
|
||
/** | ||
* @hide | ||
*/ | ||
@InternalApi | ||
final class WebViewClientSwazzledHooks { | ||
public final class WebViewClientSwazzledHooks { | ||
|
||
private WebViewClientSwazzledHooks() { | ||
} | ||
|
||
@SuppressWarnings("MethodNameCheck") | ||
public static void _preOnPageStarted(android.webkit.WebView view, | ||
java.lang.String url, | ||
android.graphics.Bitmap favicon) { | ||
public static void _preOnPageStarted(@Nullable android.webkit.WebView view, | ||
@Nullable java.lang.String url, | ||
@Nullable android.graphics.Bitmap favicon) { | ||
Embrace.getInstance().logWebView(url); | ||
} | ||
} |