Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Commit

Permalink
Fix web view constructor name
Browse files Browse the repository at this point in the history
  • Loading branch information
M66B committed Dec 4, 2013
1 parent ae56a24 commit 994793d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/meta.xml
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
<Hook restriction="system" method="ApplicationsProvider" permissions="" sdk="14" />

<Hook restriction="view" method="loadUrl" permissions="" sdk="1" />
<Hook restriction="view" method="WebView" permissions="" sdk="1" />
<Hook restriction="view" method="android.webkit.WebView.WebView" permissions="" sdk="1" />
<Hook restriction="view" method="getDefaultUserAgent" permissions="" sdk="17" />
<Hook restriction="view" method="getUserAgent" permissions="" sdk="1" />
<Hook restriction="view" method="getUserAgentString" permissions="" sdk="1" />
Expand Down
2 changes: 1 addition & 1 deletion src/biz/bokhorst/xprivacy/XWebView.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class XWebView extends XHook {
private static final List<String> mWebSettings = new ArrayList<String>();

private XWebView(Methods method, String restrictionName) {
super(restrictionName, (method == Methods.WebView ? null : method.name()), null);
super(restrictionName, method.name(), null);
mMethod = method;
}

Expand Down

0 comments on commit 994793d

Please sign in to comment.