Created
August 27, 2021 05:38
-
-
Save t4kemyh4nd/04c39e97dbc246b07c7dc19e1d133bd7 to your computer and use it in GitHub Desktop.
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
@JavascriptInterface | |
public String config(String str) { | |
String config = this.mManager.config(str); | |
if (Log.isLoggable("hybrid", 3)) { | |
Log.d("hybrid", "config response is " + config); | |
} | |
return config; | |
} | |
@JavascriptInterface | |
public String invoke(String str, String str2, String str3, String str4) { | |
String invoke = this.mManager.invoke(str, str2, str3, str4); | |
if (Log.isLoggable("hybrid", 3)) { | |
Log.d("hybrid", "blocking response is " + invoke); | |
} | |
return invoke; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment