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

Commit

Permalink
Fixed usage stats manager (3)
Browse files Browse the repository at this point in the history
Refs #1757
  • Loading branch information
M66B committed Feb 14, 2015
1 parent 09832e9 commit 62eb3d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/biz/bokhorst/xprivacy/XUsageStatsManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ public class XUsageStatsManager extends XHook {
private Methods mMethod;

private XUsageStatsManager(Methods method, String restrictionName) {
super(restrictionName, method.name(), method.name().replace("Srv_", ""));
super(restrictionName, method.name().replace("Srv_", ""), method.name());
mMethod = method;
}

@Override
public boolean isVisible() {
return (mMethod != Methods.Srv_queryConfigurationStats && mMethod != Methods.Srv_queryUsageStats);
return !mMethod.name().startsWith("Srv_");
}

public String getClassName() {
Expand Down

0 comments on commit 62eb3d3

Please sign in to comment.