Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit da14068

Browse files
committed
Add 'isHostnameAllowed' again as deprecated alias of 'isPermittedUrl'
1 parent b51dd11 commit da14068

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎Source/library/src/main/java/im/delight/android/webview/AdvancedWebView.java‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,6 +1093,13 @@ public boolean isPermittedUrl(final String url) {
10931093
return false;
10941094
}
10951095

1096+
/**
1097+
* @deprecated use `isPermittedUrl` instead
1098+
*/
1099+
protected boolean isHostnameAllowed(final String url) {
1100+
return isPermittedUrl(url);
1101+
}
1102+
10961103
protected void setLastError() {
10971104
mLastError = System.currentTimeMillis();
10981105
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /